Commit 08c71530 authored by Francesco Colista's avatar Francesco Colista

community/libgusb: moved from unmaintained, upgrade to 0.2.9

parent f05966bf
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgusb
pkgver=0.2.7
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 libusb-dev glib-dev gobject-introspection-dev"
makedepends="$depends_dev"
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
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir"/libgusb-$pkgver
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -40,10 +31,10 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="74d6bd12ef8662fccd27fe33f2839375 libgusb-0.2.7.tar.xz"
sha256sums="0be9578f7875cecb6c163ad47eb39bc6bf497e501b08986c0d384748a054c3ee libgusb-0.2.7.tar.xz"
sha512sums="9210ddc95458c452fa32c8e11849c6f44e24680485aafe93887a52266c8253e495e5f0584f25e3e67051bb00247d6b658cd2ff3f6a4da167a113974d8fefd5ac libgusb-0.2.7.tar.xz"
md5sums="d4251e958aee7d19e39f8021e457942f libgusb-0.2.9.tar.xz"
sha256sums="7320bdcd0ab1750d314fa86f48bd2cc186b9e33332314403779af9772fedde14 libgusb-0.2.9.tar.xz"
sha512sums="30e469e6c9561339a002089f732b3a60c02e285c0a166416a833c4c2475028a41c2339fcbc5ef1524b4be6fa09931e177067fa12231a145f1f05a324e343da9d libgusb-0.2.9.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment