diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 08:19:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 08:22:45 +0000 |
commit | cff79a00ec4dc26a3caa16c174a07a3948da4810 (patch) | |
tree | aae33bf81c3407a0622b857ed1969471eae7b7c6 /main/libusb-compat | |
parent | 1eaeb70f388cfe3d10dc6825f947fdeeecf6ac44 (diff) | |
download | aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.bz2 aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.xz |
main/[various]: let abuild detect shared objects dependencies
Diffstat (limited to 'main/libusb-compat')
-rw-r--r-- | main/libusb-compat/APKBUILD | 9 |
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" |