summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-18 05:33:20 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-18 05:33:20 (GMT)
commit3756f75d6fbfda0cfd741faf46bc6707c4b2ae16 (patch)
tree752124cd9fedd5b91232ede3fea4b06a59770554 /abs
parentbedcfcea3a652774ee41c6fd4f2f3d171a98ca43 (diff)
downloadlinhes_pkgbuild-3756f75d6fbfda0cfd741faf46bc6707c4b2ae16.zip
linhes_pkgbuild-3756f75d6fbfda0cfd741faf46bc6707c4b2ae16.tar.gz
linhes_pkgbuild-3756f75d6fbfda0cfd741faf46bc6707c4b2ae16.tar.bz2
libusb:Bumped to latest.
Diffstat (limited to 'abs')
-rw-r--r--abs/core/libusb/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/abs/core/libusb/PKGBUILD b/abs/core/libusb/PKGBUILD
index 2c6b879..947361b 100644
--- a/abs/core/libusb/PKGBUILD
+++ b/abs/core/libusb/PKGBUILD
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD 8698 2008-08-16 03:34:22Z eric $
-# Maintainer: arjan <arjan@archlinux.org>
+# $Id: PKGBUILD 101194 2010-11-28 15:05:41Z tpowa $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libusb
-pkgver=0.1.12
-pkgrel=12
-depends=('gcc-libs')
-pkgdesc="Library to enable user space application programs to communicate with USB devices"
+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')
-groups=('base')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('caf182cbc7565dac0fd72155919672e6')
+source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
options=(!libtool)
+replaces=(libusb1)
+md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-build-docs
- make || return 1
- make DESTDIR=$startdir/pkg install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package () {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}