2009-03-23 06:02:03 +01:00
|
|
|
# Template file for 'libusb'
|
|
|
|
pkgname=libusb
|
2014-06-16 11:39:59 +02:00
|
|
|
version=1.0.19
|
|
|
|
revision=1
|
2014-01-26 16:59:22 +01:00
|
|
|
replaces="libusbx>=0"
|
2014-01-11 16:36:29 +01:00
|
|
|
build_style=gnu-configure
|
2014-01-26 16:55:15 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libudev-devel"
|
2009-03-23 06:02:03 +01:00
|
|
|
short_desc="A library which allows userspace access to USB devices"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-04-28 15:49:07 +02:00
|
|
|
license="LGPL-2.1"
|
2014-06-16 11:39:59 +02:00
|
|
|
homepage="http://libusb.info"
|
2013-04-12 19:13:19 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2014-06-16 11:39:59 +02:00
|
|
|
checksum=6c502c816002f90d4f76050a6429c3a7e0d84204222cbff2dce95dd773ba6840
|
2009-03-23 06:02:03 +01:00
|
|
|
|
2013-04-12 19:13:19 +02:00
|
|
|
libusb-devel_package() {
|
2014-01-26 16:59:22 +01:00
|
|
|
replaces="libusbx-devel>=0"
|
2014-01-11 16:36:29 +01:00
|
|
|
depends="libusb>=${version}_${revision}"
|
2014-06-16 11:39:59 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 19:13:19 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-01-11 16:36:29 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 19:13:19 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|