summaryrefslogtreecommitdiff
path: root/core/libusb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/libusb/PKGBUILD')
-rw-r--r--core/libusb/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/libusb/PKGBUILD b/core/libusb/PKGBUILD
new file mode 100644
index 000000000..947361b3d
--- /dev/null
+++ b/core/libusb/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 101194 2010-11-28 15:05:41Z tpowa $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+pkgname=libusb
+pkgver=1.0.8
+pkgrel=1
+depends=('glibc')
+pkgdesc="Library to enable user space application programs to communicate with USB devices."
+arch=(i686 x86_64)
+url="http://libusb.sourceforge.net/"
+license=('LGPL')
+source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
+options=(!libtool)
+replaces=(libusb1)
+md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package () {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}