2009-03-23 05:02:03 +00:00
|
|
|
# Template file for 'libusb'
|
|
|
|
pkgname=libusb
|
2012-04-28 13:49:07 +00:00
|
|
|
version=1.0.9
|
2014-01-11 15:37:31 +00:00
|
|
|
revision=3
|
2014-01-11 15:36:29 +00:00
|
|
|
build_style=gnu-configure
|
2009-03-23 05:02:03 +00:00
|
|
|
short_desc="A library which allows userspace access to USB devices"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-04-28 13:49:07 +00:00
|
|
|
license="LGPL-2.1"
|
2013-04-12 17:13:19 +00:00
|
|
|
homepage="http://libusb.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2012-04-28 13:49:07 +00:00
|
|
|
checksum=e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b
|
2009-03-23 05:02:03 +00:00
|
|
|
|
2013-04-12 17:13:19 +00:00
|
|
|
libusb-devel_package() {
|
2014-01-11 15:36:29 +00:00
|
|
|
depends="libusb>=${version}_${revision}"
|
2013-04-12 17:13:19 +00:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-01-11 15:36:29 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 17:13:19 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|