void-packages/srcpkgs/libfprint/template

38 lines
1,013 B
Text
Raw Normal View History

2014-03-17 23:34:35 +00:00
# Template file for 'libfprint'
pkgname=libfprint
version=0.5.1
revision=1
build_style=gnu-configure
makedepends="libusb-devel nss-devel glib-devel gdk-pixbuf-devel"
hostmakedepends="pkg-config automake autoconf libtool"
short_desc="support for consumer fingerprint reader devices"
maintainer="Enno Boland"
license="LGPL"
homepage="http://www.freedesktop.org/wiki/Software/fprint/"
distfiles="http://people.freedesktop.org/~hadess/libfprint-${version}.tar.xz"
checksum=6d12563b91888b84b71eee6d2e113d8e9e9940c6a28a0915656b6f86b9568fb3
configure_args="--disable-static
--disable-static \
--disable-examples-build \
--disable-x11-examples-build \
--disable-debug-log"
pre_configure() {
autoreconf -fi
}
post_install() {
vmkdir usr/lib/udev
mv $DESTDIR/rules.d $DESTDIR/usr/lib/udev
}
libfprint-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}