jow 2f9a65fa97 [packages] normalize PKG_FIXUP - the "libtool" fixup is merely an alias for "autoreconf", so change all occurences to that
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 21:18:33 +00:00

66 lines
1.6 KiB
Makefile

#
# 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:=libsynce
PKG_VERSION:=0.12
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/synce
PKG_MD5SUM:=fd473d3deceda7912af4427dede1736f
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
define Package/libsynce
DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS)
SECTION:=libs
CATEGORY:=Libraries
TITLE:=SynCE library
URL:=http://synce.sourceforge.net/
endef
define Package/libsynce/description
The purpose of the SynCE project is to provide a means of communication with a
Windows CE or Pocket PC device from a computer running Linux, *BSD or other unices.
endef
MAKE_FLAGS += \
OPTIM="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)"
CONFIGURE_ARGS += \
--enable-hal-support=no \
--enable-odccm-support=no
CONFIGURE_VARS+= \
CPPFLAGS="$$$$CPPFLAGS -I$(ICONV_PREFIX)/include" \
CPPFLAGS="$$$$CPPFLAGS -I$(INTL_PREFIX)/include" \
LDFLAGS="$$$$LDFLAGS -L$(ICONV_PREFIX)/lib" \
LDFLAGS="$$$$LDFLAGS -L$(INTL_PREFIX)/lib" \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsynce.so* $(1)/usr/lib/
endef
define Package/libsynce/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsynce.so.* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libsynce))