Add synce-dccm from #4133
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13069 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2f1c260a86
commit
58744e959e
51
net/synce-dccm/Makefile
Normal file
51
net/synce-dccm/Makefile
Normal file
@ -0,0 +1,51 @@
|
||||
#
|
||||
# Copyright (C) 2008 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=synce-dccm
|
||||
PKG_VERSION:=0.9.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/synce
|
||||
PKG_MD5SUM:=8818b71133049fe9c739166225aebe0c
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/synce-dccm
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libsynce +libiconv
|
||||
TITLE:=dccm for mobiles
|
||||
URL:=http://sourceforge.net/projects/synce/
|
||||
endef
|
||||
|
||||
define Package/synce-dccm/description
|
||||
Description TBD
|
||||
endef
|
||||
|
||||
CONFIGURE_VARS+= \
|
||||
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \
|
||||
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libintl/include" \
|
||||
CPPFLAGS="$$$$CPPFLAGS -Wl,-rpath-link,$(STAGING_DIR)/usr/lib:$(STAGING_DIR)/usr/lib/libiconv/lib:$(STAGING_DIR)/usr/lib/libintl/lib"
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
|
||||
LIBS="-lsynce -liconv" \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/synce-dccm/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dccm $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,synce-dccm))
|
||||
#LIBS="-Wl,-Bstatic,-lsynce,-Bdynamic,-liconv" \
|
Loading…
x
Reference in New Issue
Block a user