fingerprint-gui: change to build_style=qmake

This commit is contained in:
Andrea Brancaleoni 2015-08-23 18:48:00 +02:00
parent 3552268e96
commit 89afe90961

View file

@ -1,7 +1,8 @@
# Template file for 'fingerprint-gui'
pkgname=fingerprint-gui
version=1.06
revision=2
revision=3
build_style=qmake
make_dirs="/var/lib/fingerprint-gui 0755 root root
/var/upek_data 0750 root input"
hostmakedepends="qt-qmake"
@ -13,18 +14,17 @@ license="GPL-2"
homepage="http://www.ullrich-online.cc/fingerprint/"
distfiles="http://www.ullrich-online.cc/fingerprint/download/${pkgname}-${version}.tar.gz"
checksum=f5021d4c446b65ce62de63b9b2874b05a62318b386f35577ca0322b722a1920f
do_build() {
CXXFLAGS+="-I/usr/include/QtCrypto"
LDFLAGS+="-lqca"
configure_args='LIBPOLKIT_QT=LIBPOLKIT_QT_1_1'
pre_configure() {
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 \
"QMAKE_CXXFLAGS+=-I/usr/include/QtCrypto" "QMAKE_LIBS+=-lqca"
make ${makejobs}
}
do_install() {
make INSTALL_ROOT=${DESTDIR}/ install
post_install() {
vdoc CHANGELOG
vconf upek/upek.cfg
vmkdir usr/lib/udev/rules.d