diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-23 09:21:32 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-06-23 09:21:32 +0200 |
commit | f03e691131fe8165e9aabb845f97cee512d31afd (patch) | |
tree | a7dfdd4e884fe9552623b5756060b4bdf4e6ce8b /testing/libusbx/PKGBUILD | |
parent | 35975ee7f776a831086f2b736a72f87779356a8e (diff) | |
parent | 11357a5ab02a7d536375fb8333b2fb67278b4a36 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Diffstat (limited to 'testing/libusbx/PKGBUILD')
-rw-r--r-- | testing/libusbx/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libusbx/PKGBUILD b/testing/libusbx/PKGBUILD new file mode 100644 index 000000000..e71668459 --- /dev/null +++ b/testing/libusbx/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 162126 2012-06-21 06:54:30Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +pkgname=libusbx +pkgver=1.0.12 +pkgrel=1 +depends=('glibc') +pkgdesc="Library that provides generic access to USB device" +arch=(i686 x86_64) +url="http://libusbx.org" +license=('LGPL') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +options=(!libtool) +replaces=('libusb1' 'libusb') +provides=("libusb=$pkgver") +conflicts=("libusb") +md5sums=('c41352ac755c7992edfcbb2ea4ad1349') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package () { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |