New package: libftdi1-1.2
This commit is contained in:
parent
23e43da688
commit
d04084dbce
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libftdi1
|
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue