New package: libftdi1-1.2

This commit is contained in:
Christian Neukirchen 2016-01-15 13:49:43 +01:00
parent 23e43da688
commit d04084dbce
3 changed files with 32 additions and 0 deletions

View File

@ -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

1
srcpkgs/libftdi1-devel Symbolic link
View File

@ -0,0 +1 @@
libftdi1

30
srcpkgs/libftdi1/template Normal file
View File

@ -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 <chneukirchen@gmail.com>"
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
}
}