void-packages/srcpkgs/libftdi1/template

31 lines
870 B
Bash
Raw Normal View History

2016-01-15 13:49:43 +01:00
# Template file for 'libftdi'
pkgname=libftdi1
2016-05-21 16:44:46 +02:00
version=1.3
revision=1
2016-01-15 13:49:43 +01:00
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"
2016-05-21 16:44:46 +02:00
checksum=9a8c95c94bfbcf36584a0a58a6e2003d9b133213d9202b76aec76302ffaa81f4
2016-01-15 13:49:43 +01:00
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
}
}