mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
New package: fingerprint-gui-1.05
This commit is contained in:
parent
45657b3394
commit
0af1e3a4b2
1 changed files with 36 additions and 0 deletions
36
srcpkgs/fingerprint-gui/template
Normal file
36
srcpkgs/fingerprint-gui/template
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Template file for 'fingerprint-gui'
|
||||||
|
pkgname=fingerprint-gui
|
||||||
|
version=1.05
|
||||||
|
revision=1
|
||||||
|
make_dirs="/var/lib/fingerprint-gui 0755 root input
|
||||||
|
/var/upek_data 0750 root input"
|
||||||
|
hostmakedepends="qt-qmake"
|
||||||
|
makedepends="qt-devel qca-devel libfprint-devel libfakekey-devel polkit-qt-devel pam-devel"
|
||||||
|
depends="desktop-file-utils"
|
||||||
|
short_desc="Fingerprint management GUI"
|
||||||
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.n-view.net/Appliance/fingerprint/index.php"
|
||||||
|
distfiles="http://ullrich-online.cc/nview/Appliance/fingerprint/download/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=4058ffa55de8ea346ae8747ec88828d2312656b3d8a54c57198b04e4032097db
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
sed -i 's/plugdev/input/g' \
|
||||||
|
upek/91-fingerprint-gui-upek.rules \
|
||||||
|
bin/fingerprint-helper/92-fingerprint-gui-uinput.rules
|
||||||
|
qmake LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 PREFIX=/usr LIB=/usr/lib
|
||||||
|
make ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make INSTALL_ROOT=${DESTDIR}/ install
|
||||||
|
vdoc CHANGELOG
|
||||||
|
vconf upek/upek.cfg
|
||||||
|
vmkdir usr/lib/udev/rules.d
|
||||||
|
mv ${DESTDIR}/etc/udev/rules.d/* ${DESTDIR}/usr/lib/udev/rules.d
|
||||||
|
vinstall upek/91-fingerprint-gui-upek.rules 644 usr/lib/udev/rules.d
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*) vcopy "upek/lib/libbsapi.so.*" usr/lib;;
|
||||||
|
x86_64*) vcopy "upek/lib64/libbsapi.so.*" usr/lib;;
|
||||||
|
esac
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue