template 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Template file for 'ConsoleKit2'
  2. pkgname=ConsoleKit2
  3. version=1.2.6
  4. revision=1
  5. build_style=gnu-configure
  6. configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
  7. --with-rundir=/run --enable-udev-acl --enable-pam-module
  8. --with-pam-module-dir=/usr/lib/security"
  9. hostmakedepends="git automake autoconf libtool pkgconf gettext-devel glib-devel"
  10. makedepends="acl-devel eudev-libudev-devel polkit-devel glib-devel libX11-devel pam-devel libcgmanager-devel"
  11. depends="dbus cgmanager"
  12. checkdepends="libxml2" # for xmllint
  13. short_desc="Framework for defining and tracking users, login sessions, and seats"
  14. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  15. license="GPL-2.0-only"
  16. homepage="http://consolekit2.github.io/ConsoleKit2/"
  17. distfiles="https://github.com/ConsoleKit2/ConsoleKit2/archive/${version}/ConsoleKit2-${version}.tar.gz"
  18. checksum=d41224129c5a689469ebd8fe87e34c4a76afdb7b2f6201eb246320262ea5a942
  19. patch_args="-Np0"
  20. make_dirs="
  21. /etc/ConsoleKit/run-seat.d 0755 root root
  22. /etc/ConsoleKit/run-session.d 0755 root root
  23. /usr/lib/ConsoleKit/run-session.d 0755 root root
  24. /usr/lib/ConsoleKit/run-seat.d 0755 root root"
  25. pre_configure() {
  26. ./autogen.sh
  27. }
  28. post_install() {
  29. vsv consolekit
  30. }
  31. ConsoleKit2-devel_package() {
  32. short_desc+=" - development files"
  33. depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
  34. pkg_install() {
  35. vmove usr/include
  36. vmove usr/lib/*.so
  37. vmove usr/lib/pkgconfig
  38. }
  39. }