diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 04:06:32 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 04:06:32 -0500 |
commit | f92fb7623ea361d727c523260cbe80dfa2bdbd3e (patch) | |
tree | 4e40748d5e993e49a59b30f3129ef58c29f62c1e | |
parent | 7307cdccff4e4fe96e5b37938f5a9dc1e6d0105e (diff) | |
download | packages-f92fb7623ea361d727c523260cbe80dfa2bdbd3e.tar.gz packages-f92fb7623ea361d727c523260cbe80dfa2bdbd3e.tar.bz2 packages-f92fb7623ea361d727c523260cbe80dfa2bdbd3e.tar.xz packages-f92fb7623ea361d727c523260cbe80dfa2bdbd3e.zip |
user/libusb: pull in, take, bump, fix
-rw-r--r-- | user/libusb/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/libusb/APKBUILD b/user/libusb/APKBUILD new file mode 100644 index 000000000..f163c64ab --- /dev/null +++ b/user/libusb/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libusb +pkgver=1.0.22 +pkgrel=1 +pkgdesc="Library for USB device communication" +url="https://libusb.info/" +arch="all" +license="LGPL-2.1+" +subpackages="$pkgname-dev" +makedepends="eudev-dev linux-headers" +source="https://github.com/libusb/libusb/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make -j1 +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="2a93ba48bb66b9775838c16d74f7269348d9bc163f94ccf2842d1108d95a41cf79f8c8065233bea410fb94261a462dbb08ecfa1a9b6d3ddf4a5980e6043f74f4 libusb-1.0.22.tar.bz2" |