summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/usbutils
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/usbutils
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/usbutils')
-rw-r--r--abs/core-testing/usbutils/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core-testing/usbutils/PKGBUILD b/abs/core-testing/usbutils/PKGBUILD
new file mode 100644
index 0000000..944e26a
--- /dev/null
+++ b/abs/core-testing/usbutils/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
+pkgname=usbutils
+pkgver=0.73
+pkgrel=14
+pkgdesc="USB Device Utilities"
+arch=(i686 x86_64)
+license=('GPL')
+groups=('base')
+makedepends=('wget')
+depends=('glibc' 'libusb')
+url="http://usb.cs.tum.edu/"
+source=(http://downloads.sourceforge.net/sourceforge/linux-usb/usbutils-$pkgver.tar.gz)
+md5sums=('88978b4ad891f610620b1b8e5e0f43eb')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./update-usbids.sh
+ sed -i 's|DEST=|&/usr/share/hwdata/|' update-usbids.sh
+ ./configure --prefix=/usr --datadir=/usr/share/hwdata --enable-usbmodules --disable-zlib
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ install -D -m755 update-usbids.sh $startdir/pkg/usr/sbin/update-usbids
+}