aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb-compat/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libusb-compat/APKBUILD')
-rw-r--r--main/libusb-compat/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/libusb-compat/APKBUILD b/main/libusb-compat/APKBUILD
index 23e16cfa57..3ebdb27749 100644
--- a/main/libusb-compat/APKBUILD
+++ b/main/libusb-compat/APKBUILD
@@ -6,15 +6,18 @@ pkgdesc="Compatility for older libusb"
url="http://libusb.sourceforge.net/"
license="LGPL"
subpackages="$pkgname-dev"
-depends="uclibc libusb"
+depends=
makedepends="libusb-dev"
source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr --disable-build-docs
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
md5sums="652e1d9e6c6912fd924a5ad204f6d48b libusb-compat-0.1.0.tar.bz2"