2009-03-23 05:02:18 +00:00
|
|
|
# Template file for 'libusb-compat'
|
|
|
|
pkgname=libusb-compat
|
2013-06-17 14:06:04 +00:00
|
|
|
version=0.1.5
|
2013-06-22 05:58:40 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-06-17 14:06:04 +00:00
|
|
|
makedepends="libusbx-devel"
|
2009-03-23 05:02:18 +00:00
|
|
|
short_desc="A libusb-0.1 compatibility library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-05-07 08:33:26 +00:00
|
|
|
license="LGPL-2.1"
|
2013-04-13 08:15:49 +00:00
|
|
|
homepage="http://libusb.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2"
|
2013-06-17 14:06:04 +00:00
|
|
|
checksum=404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a
|
2009-03-23 05:02:18 +00: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 08:15:49 +00:00
|
|
|
libusb-compat-devel_package() {
|
2013-06-22 05:58:40 +00:00
|
|
|
depends="libusbx-devel libusb-compat>=${version}"
|
2013-06-17 14:06:04 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-06-22 05:58:40 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libusb-compat_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|