diff options
Diffstat (limited to 'testing/libusb-compat/APKBUILD')
-rw-r--r-- | testing/libusb-compat/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/libusb-compat/APKBUILD b/testing/libusb-compat/APKBUILD new file mode 100644 index 000000000..d36933b66 --- /dev/null +++ b/testing/libusb-compat/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Leonardo Arena <rnalrd@gmail.com> +pkgname=libusb-compat +pkgver=0.1.3 +pkgrel=0 +pkgdesc="Compatibility library for use by user level applications to access USB devices regardless of OS" +url="http://www.libusb.org/" +license="LGPL v2.1" +depends= +makedepends="libusb-dev" +install= +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="570ac2ea085b80d1f74ddc7c6a93c0eb libusb-compat-0.1.3.tar.bz2" |