2008-10-28 22:52:38 +00:00
|
|
|
#
|
2010-02-19 00:14:01 +00:00
|
|
|
# Copyright (C) 2008-2010 OpenWrt.org
|
2008-10-28 22:52:38 +00:00
|
|
|
#
|
|
|
|
# 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
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=2
|
2008-10-28 22:52:38 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/synce
|
|
|
|
PKG_MD5SUM:=8818b71133049fe9c739166225aebe0c
|
|
|
|
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-02-19 00:14:01 +00:00
|
|
|
|
2008-10-28 22:52:38 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-02 18:54:24 +00:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2008-10-28 22:52:38 +00:00
|
|
|
|
|
|
|
define Package/synce-dccm
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-02-02 18:54:24 +00:00
|
|
|
DEPENDS:=+libsynce $(ICONV_DEPENDS)
|
2008-10-28 22:52:38 +00:00
|
|
|
TITLE:=dccm for mobiles
|
|
|
|
URL:=http://sourceforge.net/projects/synce/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/synce-dccm/description
|
|
|
|
Description TBD
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_VARS+= \
|
2011-02-02 18:54:24 +00:00
|
|
|
CPPFLAGS="$$$$CPPFLAGS -I$(ICONV_PREFIX)/include" \
|
|
|
|
CPPFLAGS="$$$$CPPFLAGS -I$(INTL_PREFIX)/include" \
|
2014-03-27 07:05:54 +00:00
|
|
|
CPPFLAGS="$$$$CPPFLAGS -Wl,-rpath-link,$(STAGING_DIR)/usr/lib:$(ICONV_PREFIX)/lib:$(INTL_PREFIX)/lib"
|
2008-10-28 22:52:38 +00:00
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
2011-02-02 18:54:24 +00:00
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib" \
|
2008-10-28 22:52:38 +00:00
|
|
|
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" \
|