void-packages/srcpkgs/ConsoleKit/template

40 lines
1.4 KiB
Plaintext
Raw Normal View History

2014-07-28 08:13:34 +02:00
# Template file for 'gnome-calculator'
pkgname=ConsoleKit
version=0.4.6
revision=4
2014-07-28 08:13:34 +02:00
build_style=gnu-configure
configure_args="--enable-udev-acl --with-pam-module-dir=/usr/lib/security --enable-pam-module"
hostmakedepends="automake libtool pkg-config glib-devel"
makedepends="acl-devel eudev-libudev-devel polkit-devel dbus-glib-devel glib-devel libX11-devel pam-devel"
2014-07-28 08:13:34 +02:00
short_desc="A framework for defining and tracking users, login sessions, and seats"
maintainer="Enno Boland <eb@s01.de>"
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
license="GPL"
distfiles="http://www.freedesktop.org/software/ConsoleKit/dist/${pkgname}-${version}.tar.xz"
checksum=b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c
make_dirs="
/etc/${pkgname}/run-seat.d 0755 root root
/etc/${pkgname}/run-session.d 0755 root root
/usr/lib/${pkgname}/run-session.d 0755 root root
/usr/lib/${pkgname}/run-seat.d 0755 root root
/var/log/${pkgname} 0755 root root"
pre_configure() {
autoreconf -fi
}
post_install() {
vinstall ${FILESDIR}/90-consolekit-3 755 etc/X11/xinit/xinitrc.d 90-consolekit
vinstall ${FILESDIR}/pam-foreground-compat.ck 755 usr/lib/${pkgname}/run-session.d
}
ConsoleKit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}