aboutsummaryrefslogblamecommitdiffstats
path: root/main/usbutils/APKBUILD
blob: 3b0b7ae82849bd08421f4ade37ceded0ee8f6cc4 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
          
        

                                       
          

                         
        
                                         
                                                                                   
 
         






                                             



                                     
                                      


                                          
 
 
                                                               
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=usbutils
pkgver=001
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="http://www.kernel.org/pub/linux/utils/usb/$pkgname/$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
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
	mkdir -p "$pkgdir"/usr/lib/
	mv "$pkgdir"/usr/share/pkgconfig \
		"$pkgdir"/usr/lib/
}

md5sums="3ecdcb42f08ef0d63e2638feb06ececc  usbutils-001.tar.gz"