fprintd: added systemd build option (off).

This commit is contained in:
Juan RP 2014-12-19 09:52:40 +01:00
parent 34f153f7e3
commit ec2506bc4b
1 changed files with 7 additions and 5 deletions

View File

@ -1,20 +1,22 @@
# Template file for 'fprintd' # Template file for 'fprintd'
pkgname=fprintd pkgname=fprintd
version=0.5.1 version=0.5.1
revision=4 revision=5
lib32disabled=yes lib32disabled=yes
build_options="systemd"
build_style=gnu-configure build_style=gnu-configure
configure_args="--sysconfdir=/etc/$pkgname --disable-static
$(vopt_if systemd '' '--without-systemdsystemunitdir')"
conf_files="/etc/fprintd/fprintd.conf /etc/dbus-1/system.d/net.reactivated.Fprint.conf"
short_desc="Daemon that provides fingerprint scanning functionality" short_desc="Daemon that provides fingerprint scanning functionality"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
homepage="http://www.freedesktop.org/wiki/Software/fprint/" homepage="http://www.freedesktop.org/wiki/Software/fprint/"
hostmakedepends="intltool pkg-config" hostmakedepends="intltool pkg-config"
makedepends="libfprint-devel dbus-devel dbus-glib-devel polkit-devel systemd-devel pam-devel" makedepends="libfprint-devel dbus-devel dbus-glib-devel polkit-devel pam-devel
$(vopt_if systemd systemd-devel)"
license="GPL" license="GPL"
distfiles="http://people.freedesktop.org/~hadess/${pkgname}-${version}.tar.xz" distfiles="http://people.freedesktop.org/~hadess/${pkgname}-${version}.tar.xz"
checksum=9256970fe30cb0332c1932fc0dad3c8d83570eb8e153305e9430e3cd90806e58 checksum=9256970fe30cb0332c1932fc0dad3c8d83570eb8e153305e9430e3cd90806e58
configure_args="--sysconfdir=/etc/$pkgname --disable-static"
conf_files="/etc/fprintd/fprintd.conf /etc/dbus-1/system.d/net.reactivated.Fprint.conf"
systemd_services="${pkgname}.service on"
post_install() { post_install() {
mv $DESTDIR/etc/$pkgname/dbus-1 $DESTDIR/etc mv $DESTDIR/etc/$pkgname/dbus-1 $DESTDIR/etc