12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # Template file for 'ConsoleKit2'
- pkgname=ConsoleKit2
- version=1.2.6
- revision=1
- build_style=gnu-configure
- configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
- --with-rundir=/run --enable-udev-acl --enable-pam-module
- --with-pam-module-dir=/usr/lib/security"
- hostmakedepends="git automake autoconf libtool pkgconf gettext-devel glib-devel"
- makedepends="acl-devel eudev-libudev-devel polkit-devel glib-devel libX11-devel pam-devel libcgmanager-devel"
- depends="dbus cgmanager"
- checkdepends="libxml2" # for xmllint
- short_desc="Framework for defining and tracking users, login sessions, and seats"
- maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
- license="GPL-2.0-only"
- homepage="http://consolekit2.github.io/ConsoleKit2/"
- distfiles="https://github.com/ConsoleKit2/ConsoleKit2/archive/${version}/ConsoleKit2-${version}.tar.gz"
- checksum=d41224129c5a689469ebd8fe87e34c4a76afdb7b2f6201eb246320262ea5a942
- patch_args="-Np0"
- make_dirs="
- /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"
- pre_configure() {
- ./autogen.sh
- }
- post_install() {
- vsv consolekit
- }
- ConsoleKit2-devel_package() {
- short_desc+=" - development files"
- depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
- pkg_install() {
- vmove usr/include
- vmove usr/lib/*.so
- vmove usr/lib/pkgconfig
- }
- }
|