void-packages/srcpkgs/libgusb/template
Jürgen Buchmüller b02cf8b915 simple-scan: update to 3.18.1
This update needs libgusb with vala enabled to rebuild
ui.c with packagekit support disabled.
2015-10-23 19:56:30 +02:00

33 lines
974 B
Bash

# Template file for 'libgusb'
pkgname=libgusb
version=0.2.7
revision=3
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config $(vopt_if gir 'gobject-introspection vala')"
makedepends="libglib-devel libusb-devel libgudev-devel"
short_desc="GLib wrapper around libusb1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://gitorious.org/gusb/"
license="LGPL-2.1"
distfiles="http://people.freedesktop.org/~hughsient/releases/$pkgname-${version}.tar.xz"
checksum=0be9578f7875cecb6c163ad47eb39bc6bf497e501b08986c0d384748a054c3ee
# 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"
}
}