33 lines
964 B
Text
33 lines
964 B
Text
# Template file for 'libgusb'
|
|
pkgname=libgusb
|
|
version=0.2.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)"
|
|
makedepends="libglib-devel libusb-devel libgudev-devel"
|
|
short_desc="GLib wrapper around libusb1"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="https://gitorious.org/gusb/"
|
|
license="LGPL-2.1"
|
|
distfiles="http://people.freedesktop.org/~hughsient/releases/$pkgname-${version}.tar.xz"
|
|
checksum=1627afe98b27d0abd685ae038d75cd71f7500090e97a84c55458b340494e8d91
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
libgusb-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|