mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:47:13 +08:00
28 lines
828 B
Bash
28 lines
828 B
Bash
|
# $Id: PKGBUILD 50670 2009-08-30 12:30:31Z tpowa $
|
||
|
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
|
||
|
# Contributor: Curtis Campbell <curtisjamescampbell@hotmail.com>
|
||
|
pkgname=usbutils
|
||
|
pkgver=0.86
|
||
|
pkgrel=2
|
||
|
pkgdesc="USB Device Utilities"
|
||
|
arch=(i686 x86_64)
|
||
|
license=('GPL')
|
||
|
groups=('base')
|
||
|
makedepends=('wget')
|
||
|
depends=('glibc' 'libusb')
|
||
|
url="http://linux-usb.sourceforge.net/"
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/linux-usb/usbutils-$pkgver.tar.gz)
|
||
|
md5sums=('34979f675d2bcb3e1b45012fa830a53f')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
rm usb.ids
|
||
|
wget http://www.linux-usb.org/usb.ids
|
||
|
./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
|
||
|
make || return 1
|
||
|
make DESTDIR=$pkgdir install
|
||
|
# fix pkgconfig file
|
||
|
mkdir -p $pkgdir/usr/lib
|
||
|
mv $pkgdir/usr/share/hwdata/pkgconfig $pkgdir/usr/lib/
|
||
|
}
|