summaryrefslogtreecommitdiff
path: root/core/usbutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/usbutils/PKGBUILD')
-rw-r--r--core/usbutils/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/core/usbutils/PKGBUILD b/core/usbutils/PKGBUILD
new file mode 100644
index 000000000..ef1a8c541
--- /dev/null
+++ b/core/usbutils/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 104566 2011-01-04 08:28:48Z tpowa $
+# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
+pkgname=usbutils
+pkgver=001
+pkgrel=2
+pkgdesc="USB Device Utilities"
+arch=(i686 x86_64)
+license=('GPL')
+groups=('base')
+makedepends=('wget')
+depends=('glibc' 'libusb')
+url="http://linux-usb.sourceforge.net/"
+source=(http://www.kernel.org/pub/linux/utils/usb/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('3ecdcb42f08ef0d63e2638feb06ececc')
+
+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
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ # fix pkgconfig file
+ mkdir -p $pkgdir/usr/lib
+ mv $pkgdir/usr/share/pkgconfig $pkgdir/usr/lib/
+}