void-packages/srcpkgs/ConsoleKit2/template

43 lines
1.4 KiB
Bash
Raw Normal View History

# Template file for 'ConsoleKit2'
pkgname=ConsoleKit2
2014-11-03 23:41:42 +01:00
version=0.9.2
2015-03-18 16:02:02 +01:00
revision=4
patch_args="-Np1"
2015-03-18 16:02:02 +01:00
build_pie=yes
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
--with-rundir=/run --enable-udev-acl --enable-pam-module
--with-pam-module-dir=/usr/lib/security"
2015-01-06 09:35:45 +01:00
hostmakedepends="automake libtool pkg-config gettext-devel glib-devel dbus-glib-devel"
makedepends="acl-devel libudev-devel polkit-devel dbus-glib-devel glib-devel libX11-devel pam-devel"
depends="dbus"
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"
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
2014-11-03 23:41:42 +01:00
checksum=102aa07e0960e56740e235bba06a546c8e0e88f47546ef252ecda917935af41f
provides="ConsoleKit-${version}_${revision}"
replaces="ConsoleKit>=0"
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() {
autoreconf -fi
}
ConsoleKit2-devel_package() {
short_desc+=" - development files"
2014-08-31 15:36:31 +02:00
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}