2014-03-18 00:34:35 +01:00
|
|
|
# Template file for 'libfprint'
|
|
|
|
pkgname=libfprint
|
|
|
|
version=0.5.1
|
2014-03-18 09:40:37 +01:00
|
|
|
revision=2
|
2014-03-18 00:34:35 +01:00
|
|
|
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
|
2014-03-18 09:40:37 +01:00
|
|
|
configure_args="--disable-static \
|
|
|
|
--disable-udev-rules \
|
2014-03-18 00:34:35 +01:00
|
|
|
--disable-static \
|
|
|
|
--disable-examples-build \
|
|
|
|
--disable-x11-examples-build \
|
|
|
|
--disable-debug-log"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
2014-03-18 09:40:37 +01:00
|
|
|
vmkdir usr/lib/udev/rules.d
|
|
|
|
vinstall $FILESDIR/60-fprint-autosuspend.rules 644 usr/lib/udev/rules.d
|
2014-03-18 00:34:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|