2009-03-23 06:02:18 +01:00
|
|
|
# Template file for 'libusb-compat'
|
|
|
|
pkgname=libusb-compat
|
2013-06-17 16:06:04 +02:00
|
|
|
version=0.1.5
|
2013-06-22 07:58:40 +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"
|
2013-06-17 16:06:04 +02:00
|
|
|
makedepends="libusbx-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"
|
2013-06-17 16:06:04 +02:00
|
|
|
checksum=404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a
|
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() {
|
2013-06-22 07:58:40 +02:00
|
|
|
depends="libusbx-devel libusb-compat>=${version}"
|
2013-06-17 16:06:04 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-06-22 07:58:40 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libusb-compat_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|