diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-17 13:42:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-17 13:42:52 +0000 |
commit | 640cab8f389e2a7d61e8d0aecd3eaea255094c28 (patch) | |
tree | 20f015b00bf7c0b995bb922067e3d31fed06b6d0 /extra/usbutils/APKBUILD | |
parent | 7384be47f8f0c530681a13d6fd0c3525dbcfecab (diff) | |
download | aports-640cab8f389e2a7d61e8d0aecd3eaea255094c28.tar.bz2 aports-640cab8f389e2a7d61e8d0aecd3eaea255094c28.tar.xz |
extra/usbutils: new aport
Diffstat (limited to 'extra/usbutils/APKBUILD')
-rw-r--r-- | extra/usbutils/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/usbutils/APKBUILD b/extra/usbutils/APKBUILD new file mode 100644 index 000000000..1f46e0900 --- /dev/null +++ b/extra/usbutils/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=usbutils +pkgver=0.82 +pkgrel=0 +pkgdesc="USB Device Utilities" +url="http://linux-usb.sourceforge.net/" +license="GPL" +subpackags="$pkgname-doc" +depends="uclibc libusb" +makedepends="pkgconfig libusb-compat-dev" +source="http://downloads.sourceforge.net/sourceforge/linux-usb/$pkgname-$pkgver.tar.gz" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + rm usb.ids + wget http://www.linux-usb.org/usb.ids + ./configure --prefix=/usr \ + --datadir=/usr/share/hwdata \ + --disable-zlib + make || return 1 + make DESTDIR="$pkgdir" install +} +md5sums="6e393cc7423b5d228fa3d34c21481ae4 usbutils-0.82.tar.gz" |