void-packages/srcpkgs/ConsoleKit2/template

45 lines
1.4 KiB
Bash
Raw Normal View History

# Template file for 'ConsoleKit2'
pkgname=ConsoleKit2
2015-08-11 06:13:41 +00:00
version=1.0.0
2015-08-18 10:36:15 +00:00
revision=4
2015-03-18 15:02:02 +00:00
build_pie=yes
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
--with-rundir=/run --enable-udev-acl --enable-pam-module
--with-pam-module-dir=/usr/lib/security"
hostmakedepends="automake libtool pkg-config gettext-devel glib-devel"
2015-08-11 06:13:41 +00:00
makedepends="acl-devel libudev-devel polkit-devel glib-devel libX11-devel pam-devel libcgmanager-devel"
2015-08-11 09:06:52 +00:00
depends="dbus cgmanager"
2014-07-28 06:13:34 +00:00
short_desc="A framework for defining and tracking users, login sessions, and seats"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-10-23 15:53:06 +00:00
homepage="http://consolekit2.github.io/ConsoleKit2/"
license="GPL-2"
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
2015-08-11 06:13:41 +00:00
checksum=30b8026e62246593637bacf99ab9cbea18e7fea6ee07c45ae2a351912aacda4b
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
}
2015-06-14 19:50:48 +00:00
post_install() {
vsv consolekit
}
ConsoleKit2-devel_package() {
short_desc+=" - development files"
2014-08-31 13:36:31 +00:00
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}