libftdi1 uses the new libusb-1.x api so one could argue that there should be a new package (instead of updating the old one) (see http://www.intra2net.com/en/developer/libftdi/ )
compile tested on Debian 7 and Debian sid build warnings on missing -boost (no libftdi1++, no unit tests) -pythonlibs, -SWIG and -libconfuse (no ftdi_eeprom) these werent built previously anyway Signed-off-by: Dirk Neukirchen <dirkneukirc...@web.de> --- diff --git a/libs/libftdi1/Makefile b/libs/libftdi1/Makefile new file mode 100644 index 0000000..fd0ce7c --- /dev/null +++ b/libs/libftdi1/Makefile @@ -0,0 +1,50 @@ +# +# Copyright (C) 2011-2013 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:=libftdi1 +PKG_VERSION:=1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/ +PKG_MD5SUM:=e02dd77ee10b82b5edfbb8c199185bbf + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/cmake.mk + +define Package/libftdi1 + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libusb-1.0 + TITLE:=library to talk to FTDI chips + URL:=http://www.intra2net.com/en/developer/libftdi/ +endef + +define Package/libftdi1/description + libFTDI - FTDI USB driver with bitbang mode + libFTDI is an open source library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, FT2232H, FT4232H, FT2232D and FT245R, including the popular bitbang mode. + The library is linked with your program in userspace, no kernel driver required. +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/libftdi1/ftdi.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libftdi1.{a,so} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libftdi1.so* $(1)/usr/lib/ +endef + +define Package/libftdi1/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libftdi1.so.* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libftdi1)) ---
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel