PKGBUILDs/extra/libusb1/PKGBUILD
2009-10-09 21:23:22 -05:00

20 lines
569 B
Bash

# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libusb1
pkgver=1.0.1
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=('8fb0e066678a0d294894b5b2969cb4b3')
build() {
cd "${srcdir}/libusb-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}