diff options
Diffstat (limited to 'main/usbutils/APKBUILD')
-rw-r--r-- | main/usbutils/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD new file mode 100644 index 0000000000..7dc7905c30 --- /dev/null +++ b/main/usbutils/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=usbutils +pkgver=0.82 +pkgrel=1 +pkgdesc="USB Device Utilities" +url="http://linux-usb.sourceforge.net/" +license="GPL" +subpackags="$pkgname-doc" +depends= +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" |