mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 19:24:38 +08:00
21 lines
609 B
Bash
21 lines
609 B
Bash
|
# $Id: PKGBUILD 59883 2009-11-29 13:57:33Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
pkgname=libusb1
|
||
|
pkgver=1.0.6
|
||
|
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=('818c7c02112a53e0c182666ee83f2057')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/libusb-${pkgver}"
|
||
|
./configure --prefix=/usr || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
}
|