2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/synce
16 PKG_MD5SUM:=fd473d3deceda7912af4427dede1736f
18 include $(INCLUDE_DIR)/package.mk
19 include $(INCLUDE_DIR)/nls.mk
25 define Package/libsynce
26 DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS)
30 URL:=http://synce.sourceforge.net/
33 define Package/libsynce/description
34 The purpose of the SynCE project is to provide a means of communication with a
35 Windows CE or Pocket PC device from a computer running Linux, *BSD or other unices.
39 OPTIM="$(TARGET_CFLAGS)" \
40 CFLAGS="$(TARGET_CFLAGS)" \
41 DESTDIR="$(PKG_INSTALL_DIR)"
44 --enable-hal-support=no \
45 --enable-odccm-support=no
48 CPPFLAGS="$$$$CPPFLAGS -I$(ICONV_PREFIX)/include" \
49 CPPFLAGS="$$$$CPPFLAGS -I$(INTL_PREFIX)/include" \
50 LDFLAGS="$$$$LDFLAGS -L$(ICONV_PREFIX)/lib" \
51 LDFLAGS="$$$$LDFLAGS -L$(INTL_PREFIX)/lib" \
53 define Build/InstallDev
54 $(INSTALL_DIR) $(1)/usr/include
55 $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
56 $(INSTALL_DIR) $(1)/usr/lib
57 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsynce.so* $(1)/usr/lib/
60 define Package/libsynce/install
61 $(INSTALL_DIR) $(1)/usr/lib
62 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsynce.so.* $(1)/usr/lib/
65 $(eval $(call BuildPackage,libsynce))