summaryrefslogtreecommitdiff
path: root/core/libusb-compat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/libusb-compat/PKGBUILD')
-rw-r--r--core/libusb-compat/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/core/libusb-compat/PKGBUILD b/core/libusb-compat/PKGBUILD
index fcef5d10e..76b8f05a0 100644
--- a/core/libusb-compat/PKGBUILD
+++ b/core/libusb-compat/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 158829 2012-05-11 22:12:35Z eric $
+# $Id: PKGBUILD 162998 2012-07-05 06:50:21Z tpowa $
# Maintainer:
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: arjan <arjan@archlinux.org>
pkgname=libusb-compat
pkgver=0.1.4
-pkgrel=1
+pkgrel=2
pkgdesc="Library to enable user space application programs to communicate with USB devices"
arch=('i686' 'x86_64')
url="http://libusb.sourceforge.net/"
license=('LGPL')
depends=('libusb' 'sh')
options=('!libtool')
-source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('2ca521fffadd0c28fdf174e6ec73865b')
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2"
+ "libusb-0.1-libusbx.patch")
+md5sums=('2ca521fffadd0c28fdf174e6ec73865b'
+ '1612c3982f307da1332d6db57b16742b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
+ # http://libusb.org/ticket/138 can be removed with libusbx 1.0.13
+ patch -Np0 -i ../libusb-0.1-libusbx.patch
+ ./configure --prefix=/usr --disable-static
make
}
@@ -25,3 +29,4 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
+