void-packages/srcpkgs/libftdi1/template
2017-08-09 12:17:21 +02:00

29 lines
832 B
Bash

# Template file for 'libftdi'
pkgname=libftdi1
version=1.4
revision=1
build_style=cmake
makedepends="libusb-devel confuse-devel"
short_desc="Library to talk to FTDI chips"
maintainer="Leah Neukirchen <leah@vuxu.org>"
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=ec36fb49080f834690c24008328a5ef42d3cf584ef4060f3a35aa4681cb31b74
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
}
}