aboutsummaryrefslogtreecommitdiffstats
path: root/main/usbutils
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-11-30 09:03:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-03 14:39:31 +0000
commit11d8e2b74e894ecea32fdc9f2d2e9bab98a28ee8 (patch)
tree695981e5e75a19eb7cc966325841678f0457bb6e /main/usbutils
parent5d5a8998370914d4f4aa0e7398d3a274f252bbba (diff)
downloadaports-11d8e2b74e894ecea32fdc9f2d2e9bab98a28ee8.tar.bz2
aports-11d8e2b74e894ecea32fdc9f2d2e9bab98a28ee8.tar.xz
main/usbutils: specify license
Diffstat (limited to 'main/usbutils')
-rw-r--r--main/usbutils/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD
index d053451270..95207eb0ac 100644
--- a/main/usbutils/APKBUILD
+++ b/main/usbutils/APKBUILD
@@ -1,18 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=usbutils
pkgver=007
-pkgrel=3
+pkgrel=4
pkgdesc="USB Device Utilities"
url="http://linux-usb.sourceforge.net/"
arch="all"
-license="GPL"
+license="GPL2+"
subpackages="$pkgname-doc"
depends="hwdata-usb"
makedepends="pkgconfig libusbx-dev"
-source="http://www.kernel.org/pub/linux/utils/usb/usbutils/${pkgname}-${pkgver}.tar.xz"
+source="http://www.kernel.org/pub/linux/utils/usb/usbutils/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
cd "$_builddir"
update_config_sub || return 1
@@ -33,7 +32,7 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/usr/lib/
mv "$pkgdir"/usr/share/pkgconfig \
"$pkgdir"/usr/lib/