summaryrefslogtreecommitdiff
path: root/core/libusb/PKGBUILD
blob: 70690923b8a8004a09f56637139b6814980e8830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 157958 2012-04-30 07:20:00Z tpowa $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libusb
pkgver=1.0.9
pkgrel=1
depends=('glibc')
pkgdesc="Library to enable user space application programs to communicate with USB devices."
arch=(i686 x86_64 'mips64el')
url="http://libusb.sourceforge.net/"
license=('LGPL')
source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
options=(!libtool)
replaces=(libusb1)
md5sums=('7f5a02375ad960d4e33a6dae7d63cfcb')

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
}