mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 05:37:14 +08:00
25 lines
657 B
Bash
25 lines
657 B
Bash
# $Id: PKGBUILD 69309 2010-02-20 09:24:51Z allan $
|
|
# Maintainer:
|
|
# Contributor: arjan <arjan@archlinux.org>
|
|
|
|
pkgname=libusb
|
|
pkgver=1.0.8
|
|
pkgrel=3
|
|
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/libusb/libusb-$pkgver.tar.bz2)
|
|
md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef')
|
|
options=('!libtool')
|
|
replace=('libusb1')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-build-docs
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install
|
|
}
|