2009-03-23 06:02:18 +01:00
|
|
|
# Template file for 'libusb-compat'
|
|
|
|
pkgname=libusb-compat
|
2012-05-07 10:33:26 +02:00
|
|
|
version=0.1.4
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libusb-devel"
|
2009-03-23 06:02:18 +01:00
|
|
|
short_desc="A libusb-0.1 compatibility library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-05-07 10:33:26 +02:00
|
|
|
license="LGPL-2.1"
|
2013-04-13 10:15:49 +02:00
|
|
|
homepage="http://libusb.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2"
|
2012-05-07 10:33:26 +02:00
|
|
|
checksum=ed5bdd160c7b01ef767fb931a81b454f46226d1e2cf58502ced758d3e5a9fdc4
|
2009-03-23 06:02:18 +01:00
|
|
|
long_desc="
|
|
|
|
$pkgname is a replacement for libusb-0.1. However, instead of being an actual
|
|
|
|
implementation, libusb-0.1 is more of a compatibility layer (or wrapper) which
|
|
|
|
just converts libusb-0.1 calls into their libusb-1.0 equivalents."
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libusb-compat-devel_package() {
|
|
|
|
depends="libusb-compat>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libusb-compat_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|