blob: ad78f248abb625fbb539ac89b0320539eb602d59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgusb
pkgver=0.2.11
pkgrel=0
pkgdesc="GLib wrapper around libusb"
url="https://github.com/hughsie/libgusb"
arch="all"
license="LGPL"
depends_dev="eudev-dev gobject-introspection-dev"
makedepends="$depends_dev glib-dev libusb-dev gtk-doc vala"
options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="http://people.freedesktop.org/~hughsient/releases/libgusb-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096 libgusb-0.2.11.tar.xz"
|