2014-10-24 06:19:31 +00:00
|
|
|
# Template file for 'ConsoleKit2'
|
|
|
|
pkgname=ConsoleKit2
|
2014-11-03 22:41:42 +00:00
|
|
|
version=0.9.2
|
2014-10-23 15:44:53 +00:00
|
|
|
revision=1
|
2014-07-28 06:13:34 +00:00
|
|
|
build_style=gnu-configure
|
2014-10-23 16:02:07 +00:00
|
|
|
configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
|
|
|
|
--enable-udev-acl --with-pam-module-dir=/usr/lib/security --enable-pam-module"
|
2014-10-23 15:44:53 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config gettext-devel glib-devel"
|
2014-09-06 10:42:09 +00:00
|
|
|
makedepends="acl-devel libudev-devel polkit-devel dbus-glib-devel glib-devel libX11-devel pam-devel"
|
2014-10-24 06:19:31 +00:00
|
|
|
depends="dbus"
|
2014-07-28 06:13:34 +00:00
|
|
|
short_desc="A framework for defining and tracking users, login sessions, and seats"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2014-10-23 15:53:06 +00:00
|
|
|
homepage="http://consolekit2.github.io/ConsoleKit2/"
|
|
|
|
license="GPL-2"
|
2014-10-23 15:44:53 +00:00
|
|
|
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
|
2014-11-03 22:41:42 +00:00
|
|
|
checksum=102aa07e0960e56740e235bba06a546c8e0e88f47546ef252ecda917935af41f
|
2014-07-28 08:08:47 +00:00
|
|
|
|
2014-10-24 06:19:31 +00:00
|
|
|
provides="ConsoleKit-${version}_${revision}"
|
|
|
|
replaces="ConsoleKit>=0"
|
|
|
|
|
2014-07-28 08:08:47 +00:00
|
|
|
make_dirs="
|
2014-10-24 06:19:31 +00:00
|
|
|
/etc/ConsoleKit/run-seat.d 0755 root root
|
|
|
|
/etc/ConsoleKit/run-session.d 0755 root root
|
|
|
|
/usr/lib/ConsoleKit/run-session.d 0755 root root
|
|
|
|
/usr/lib/ConsoleKit/run-seat.d 0755 root root"
|
2014-07-28 06:27:11 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2014-07-28 08:08:47 +00:00
|
|
|
post_install() {
|
2014-10-24 06:38:48 +00:00
|
|
|
vinstall data/90-consolekit 755 etc/X11/xinit/xinitrc.d
|
2014-07-28 08:08:47 +00:00
|
|
|
}
|
2014-07-28 06:27:11 +00:00
|
|
|
|
2014-10-24 06:19:31 +00:00
|
|
|
ConsoleKit2-devel_package() {
|
2014-07-28 06:27:11 +00:00
|
|
|
short_desc+=" - development files"
|
2014-08-31 13:36:31 +00:00
|
|
|
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
|
2014-07-28 06:27:11 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|