2014-07-28 08:13:34 +02:00
|
|
|
# Template file for 'gnome-calculator'
|
|
|
|
pkgname=ConsoleKit
|
|
|
|
version=0.4.6
|
2014-08-02 11:32:39 +02:00
|
|
|
revision=4
|
2014-07-28 08:13:34 +02:00
|
|
|
build_style=gnu-configure
|
2014-08-02 11:32:39 +02:00
|
|
|
configure_args="--enable-udev-acl --with-pam-module-dir=/usr/lib/security --enable-pam-module"
|
2014-07-28 08:27:11 +02:00
|
|
|
hostmakedepends="automake libtool pkg-config glib-devel"
|
2014-07-28 10:08:47 +02:00
|
|
|
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
|
2014-07-28 10:08:47 +02:00
|
|
|
|
|
|
|
make_dirs="
|
2014-08-02 11:32:39 +02:00
|
|
|
/etc/${pkgname}/run-seat.d 0755 root root
|
2014-07-28 10:08:47 +02:00
|
|
|
/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"
|
2014-07-28 08:27:11 +02:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2014-07-28 10:08:47 +02:00
|
|
|
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
|
|
|
|
}
|
2014-07-28 08:27:11 +02:00
|
|
|
|
|
|
|
ConsoleKit-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|