diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/libusb1/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/core/libusb1/PKGBUILD b/abs/core/libusb1/PKGBUILD new file mode 100644 index 0000000..1db2938 --- /dev/null +++ b/abs/core/libusb1/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 79849 2010-05-08 12:19:42Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=libusb1 +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) +md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef') + +build() { + cd "${srcdir}/libusb-${pkgver}" + ./configure --prefix=/usr || return 1 + make || return 1 +} +package() { + cd "${srcdir}/libusb-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 +} |