mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
24 lines
641 B
Bash
24 lines
641 B
Bash
# $Id: PKGBUILD 69309 2010-02-20 09:24:51Z allan $
|
|
# Maintainer:
|
|
# Contributor: arjan <arjan@archlinux.org>
|
|
|
|
pkgname=libusb
|
|
pkgver=0.1.12
|
|
pkgrel=4
|
|
pkgdesc="Library to enable user space application programs to communicate with USB devices"
|
|
arch=('i686' 'x86_64')
|
|
groups=('base')
|
|
depends=('gcc-libs' 'sh')
|
|
url="http://libusb.sourceforge.net/"
|
|
license=('LGPL')
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('caf182cbc7565dac0fd72155919672e6')
|
|
options=('!libtool')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-build-docs
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install
|
|
}
|