2014-07-28 08:13:34 +02:00
|
|
|
# Template file for 'gnome-calculator'
|
|
|
|
pkgname=ConsoleKit
|
2014-10-23 17:44:53 +02:00
|
|
|
version=0.9.1
|
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}2-${version}"
|
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-10-23 17:44:53 +02:00
|
|
|
hostmakedepends="automake libtool pkg-config gettext-devel glib-devel"
|
2014-09-06 12:42:09 +02:00
|
|
|
makedepends="acl-devel libudev-devel polkit-devel dbus-glib-devel glib-devel libX11-devel pam-devel"
|
2014-10-23 17:44:53 +02:00
|
|
|
depends="dbus pm-utils"
|
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>"
|
2014-10-23 17:53:06 +02:00
|
|
|
homepage="http://consolekit2.github.io/ConsoleKit2/"
|
|
|
|
license="GPL-2"
|
2014-10-23 17:44:53 +02:00
|
|
|
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
|
|
|
|
checksum=6a735805bca0841e369a58468cc86b02d4e55184b37a4314429dec19019ff388
|
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
|
2014-10-23 17:44:53 +02:00
|
|
|
/usr/lib/${pkgname}/run-seat.d 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() {
|
2014-10-23 17:44:53 +02:00
|
|
|
vinstall data/90-consolekit 755 etc/X11/xinit/xinitrc.d
|
2014-07-28 10:08:47 +02:00
|
|
|
}
|
2014-07-28 08:27:11 +02:00
|
|
|
|
|
|
|
ConsoleKit-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2014-08-31 15:36:31 +02:00
|
|
|
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
|
2014-07-28 08:27:11 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|