29 lines
846 B
Bash
29 lines
846 B
Bash
# Template file for 'libftdi'
|
|
pkgname=libftdi1
|
|
version=1.3
|
|
revision=1
|
|
build_style=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=9a8c95c94bfbcf36584a0a58a6e2003d9b133213d9202b76aec76302ffaa81f4
|
|
|
|
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
|
|
}
|
|
}
|