void-packages/srcpkgs/libgusb/template

34 lines
964 B
Text
Raw Normal View History

2012-03-19 11:49:39 +00:00
# Template file for 'libgusb'
pkgname=libgusb
2014-12-13 09:42:08 +00:00
version=0.2.3
2014-11-24 09:32:39 +00:00
revision=1
2012-03-19 11:49:39 +00:00
build_style=gnu-configure
2014-11-24 09:32:39 +00:00
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel libusb-devel libgudev-devel"
2012-03-19 11:49:39 +00:00
short_desc="GLib wrapper around libusb1"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://gitorious.org/gusb/"
license="LGPL-2.1"
2012-11-13 10:22:27 +00:00
distfiles="http://people.freedesktop.org/~hughsient/releases/$pkgname-${version}.tar.xz"
2014-12-13 09:42:08 +00:00
checksum=9b912419687d73bc30b9fb918b7ade640b94bf9a327f0e9a93b1a031e4560458
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libgusb-devel_package() {
2014-11-24 09:32:39 +00:00
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"
}
}