diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:31:21 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:43:55 +0000 |
commit | 08c715302c89cbda3c0a3f129a95c0c5cb0bcba2 (patch) | |
tree | fa0f52750a23a14d85fb9433abfd5b3e1170ef7f /community | |
parent | f05966bfdabd2377d492cf821d388bbae89c230d (diff) | |
download | aports-08c715302c89cbda3c0a3f129a95c0c5cb0bcba2.tar.bz2 aports-08c715302c89cbda3c0a3f129a95c0c5cb0bcba2.tar.xz |
community/libgusb: moved from unmaintained, upgrade to 0.2.9
Diffstat (limited to 'community')
-rw-r--r-- | community/libgusb/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/libgusb/APKBUILD b/community/libgusb/APKBUILD new file mode 100644 index 0000000000..cd3f12f8d0 --- /dev/null +++ b/community/libgusb/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=libgusb +pkgver=0.2.9 +pkgrel=0 +pkgdesc="GLib wrapper around libusb" +url="https://gitorious.org/gusb/" +arch="all" +license="LGPL" +depends="" +depends_dev="eudev-dev gobject-introspection-dev" +makedepends="glib-dev libusb-dev gtk-doc" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://people.freedesktop.org/~hughsient/releases/libgusb-$pkgver.tar.xz" + +builddir="$srcdir"/libgusb-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="d4251e958aee7d19e39f8021e457942f libgusb-0.2.9.tar.xz" +sha256sums="7320bdcd0ab1750d314fa86f48bd2cc186b9e33332314403779af9772fedde14 libgusb-0.2.9.tar.xz" +sha512sums="30e469e6c9561339a002089f732b3a60c02e285c0a166416a833c4c2475028a41c2339fcbc5ef1524b4be6fa09931e177067fa12231a145f1f05a324e343da9d libgusb-0.2.9.tar.xz" |