From d04084dbceb9fddd9c6182bf9d8c0bfcce93471a Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 15 Jan 2016 13:49:43 +0100 Subject: [PATCH] New package: libftdi1-1.2 --- common/shlibs | 1 + srcpkgs/libftdi1-devel | 1 + srcpkgs/libftdi1/template | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 120000 srcpkgs/libftdi1-devel create mode 100644 srcpkgs/libftdi1/template diff --git a/common/shlibs b/common/shlibs index f708d8a188..d2be7c7688 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2321,3 +2321,4 @@ libmgba.so.0.3 libmgba-0.3.2_1 libglabels-3.0.so.8 libglabels30-3.2.1_1 libglbarcode-3.0.so.0 libglabels30-3.2.1_1 libjim.so.0.76 jimtcl-0.76_2 +libftdi1.so.2 libftdi1-1.2_1 diff --git a/srcpkgs/libftdi1-devel b/srcpkgs/libftdi1-devel new file mode 120000 index 0000000000..4f078786a0 --- /dev/null +++ b/srcpkgs/libftdi1-devel @@ -0,0 +1 @@ +libftdi1 \ No newline at end of file diff --git a/srcpkgs/libftdi1/template b/srcpkgs/libftdi1/template new file mode 100644 index 0000000000..85bb4e3d47 --- /dev/null +++ b/srcpkgs/libftdi1/template @@ -0,0 +1,30 @@ +# Template file for 'libftdi' +pkgname=libftdi1 +version=1.2 +revision=1 +build_style=cmake +hostmakedepends="cmake" +makedepends="libusb-devel confuse-devel" +short_desc="Library to talk to FTDI chips" +maintainer="Christian Neukirchen " +license="GPL-2, LGPL-2" +homepage="http://www.intra2net.com/en/developer/libftdi/download.php" +distfiles="http://www.intra2net.com/en/developer/libftdi/download/${pkgname}-${version}.tar.bz2" +checksum=a6ea795c829219015eb372b03008351cee3fb39f684bff3bf8a4620b558488d6 + +post_extract() { + sed -i 's/LIB_SUFFIX 64/LIB_SUFFIX ""/' CMakeLists.txt +} + +libftdi1-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove "usr/bin/*-config" + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + } +}