blob: 3ae221422f3f05ca1386ae1a59ca9663c883f049 (
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
31
32
33
34
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=usbutils
pkgver=005
pkgrel=0
pkgdesc="USB Device Utilities"
url="http://linux-usb.sourceforge.net/"
arch="all"
license="GPL"
subpackags="$pkgname-doc"
depends=
makedepends="pkgconfig libusb-compat-dev"
source="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
rm usb.ids
wget http://www.linux-usb.org/usb.ids
./configure --prefix=/usr \
--datadir=/usr/share/hwdata \
--disable-zlib
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/lib/
mv "$pkgdir"/usr/share/pkgconfig \
"$pkgdir"/usr/lib/
}
md5sums="6a21f7b6c02b76df5e8a7c208d746654 usbutils-005.tar.bz2"
|