diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-14 09:59:32 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-14 10:00:03 +0100 |
commit | a4d0c6f28112f1dd3ec3876f6fc6e9bca405f7dc (patch) | |
tree | 08db5d86c7a556272a3cb58aeb56581512449653 /main/libusb/APKBUILD | |
parent | 5a9efa9aea8a780731928b7efed9f166bd3aa893 (diff) | |
download | aports-a4d0c6f28112f1dd3ec3876f6fc6e9bca405f7dc.tar.bz2 aports-a4d0c6f28112f1dd3ec3876f6fc6e9bca405f7dc.tar.xz |
main/libusb: upgrade to 1.0.9_rc1
Diffstat (limited to 'main/libusb/APKBUILD')
-rw-r--r-- | main/libusb/APKBUILD | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD index d9c58aa60..f97d5cf4f 100644 --- a/main/libusb/APKBUILD +++ b/main/libusb/APKBUILD @@ -1,7 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libusb -pkgver=1.0.8 -pkgrel=3 +pkgver=1.0.9_rc1 +_ver=${pkgver/_/-} +pkgrel=0 pkgdesc="Library to enable user space application programs to communicate with USB devices" url="http://libusb.sourceforge.net/" arch="all" @@ -9,17 +10,30 @@ license="LGPL" subpackages="$pkgname-dev" depends="" makedepends="" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" +# This is a git snapshot of what will hopefully soon become 1.0.9, but +# we need this now, to get things in place for usb over network +# To regenerate do: +# git clone git://git.libusb.org/libusb.git +# cd libusb +# git checkout 1.0.9-rc1 +# ./autogen.sh +# make dist +# mv libusb-1.0.8.tar.bz2 libusb-1.0.9-rc1.tar.bz2 + +#source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" +source="http://dev.alpinelinux.org/~ncopa/alpine/$pkgname-$_ver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$_ver build() { - cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr --disable-build-docs + cd "$_builddir" + ./configure --prefix=/usr make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } -md5sums="37d34e6eaa69a4b645a19ff4ca63ceef libusb-1.0.8.tar.bz2" +md5sums="4d131792dd73cb8cf7156a88065e462f libusb-1.0.9-rc1.tar.bz2" |