diff options
Diffstat (limited to 'community/libgusb/APKBUILD')
-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" |