2014-10-24 08:19:31 +02:00
|
|
|
# Template file for 'ConsoleKit2'
|
|
|
|
pkgname=ConsoleKit2
|
2016-03-22 08:59:36 +01:00
|
|
|
version=1.1.0
|
2016-03-16 11:07:15 +01:00
|
|
|
revision=1
|
2014-07-28 08:13:34 +02:00
|
|
|
build_style=gnu-configure
|
2014-10-23 18:02:07 +02:00
|
|
|
configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
|
2015-01-06 09:31:53 +01:00
|
|
|
--with-rundir=/run --enable-udev-acl --enable-pam-module
|
2015-07-13 09:05:17 +02:00
|
|
|
--with-pam-module-dir=/usr/lib/security"
|
2016-03-16 11:07:15 +01:00
|
|
|
hostmakedepends="git automake libtool pkg-config gettext-devel glib-devel"
|
2016-03-22 10:39:45 +01:00
|
|
|
makedepends="acl-devel eudev-libudev-devel polkit-devel glib-devel libX11-devel pam-devel libcgmanager-devel"
|
2015-08-11 11:06:52 +02:00
|
|
|
depends="dbus cgmanager"
|
2014-07-28 08:13:34 +02:00
|
|
|
short_desc="A framework for defining and tracking users, login sessions, and seats"
|
2015-08-09 19:08:42 +02:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2014-10-23 17:53:06 +02:00
|
|
|
homepage="http://consolekit2.github.io/ConsoleKit2/"
|
|
|
|
license="GPL-2"
|
2016-03-22 08:59:36 +01:00
|
|
|
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
|
|
|
|
checksum=a40d92358aca9f627a224dca674090e310423b00ed63fc06482997611661b69b
|
2014-07-28 10:08:47 +02:00
|
|
|
|
2014-10-24 08:19:31 +02:00
|
|
|
provides="ConsoleKit-${version}_${revision}"
|
|
|
|
replaces="ConsoleKit>=0"
|
|
|
|
|
2014-07-28 10:08:47 +02:00
|
|
|
make_dirs="
|
2014-10-24 08:19:31 +02: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 08:27:11 +02:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2015-06-14 21:50:48 +02:00
|
|
|
post_install() {
|
|
|
|
vsv consolekit
|
|
|
|
}
|
|
|
|
|
2014-10-24 08:19:31 +02:00
|
|
|
ConsoleKit2-devel_package() {
|
2014-07-28 08:27:11 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|