summaryrefslogtreecommitdiffstats
path: root/main/usbutils/APKBUILD
blob: 6d3ac341a2faecdbc8adc82caad5851e5837c11c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=usbutils
pkgver=0.86
pkgrel=0
pkgdesc="USB Device Utilities"
url="http://linux-usb.sourceforge.net/"
license="GPL"
subpackags="$pkgname-doc"
depends=
makedepends="pkgconfig libusb-compat-dev"
source="http://downloads.sourceforge.net/sourceforge/linux-usb/$pkgname-$pkgver.tar.gz"

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
}
md5sums="34979f675d2bcb3e1b45012fa830a53f  usbutils-0.86.tar.gz"