2009-03-23 06:02:03 +01:00
|
|
|
# Template file for 'libusb'
|
|
|
|
pkgname=libusb
|
2012-04-28 15:49:07 +02:00
|
|
|
version=1.0.9
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-12 19:13:19 +02:00
|
|
|
revision=2
|
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"
|
2013-04-12 19:13:19 +02:00
|
|
|
homepage="http://libusb.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2012-04-28 15:49:07 +02:00
|
|
|
checksum=e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b
|
2009-03-23 06:02:03 +01:00
|
|
|
long_desc="
|
|
|
|
This package provides a way for applications to access USB devices."
|
|
|
|
|
2013-04-12 19:13:19 +02:00
|
|
|
libusb-devel_package() {
|
|
|
|
depends="libusb>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libusb_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|