41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
# Template file for 'ConsoleKit2'
|
|
pkgname=ConsoleKit2
|
|
version=0.9.3
|
|
revision=1
|
|
build_pie=yes
|
|
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="automake libtool pkg-config gettext-devel glib-devel"
|
|
makedepends="acl-devel libudev-devel polkit-devel libglib-devel libX11-devel pam-devel"
|
|
depends="dbus"
|
|
short_desc="A framework for defining and tracking users, login sessions, and seats"
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
homepage="http://consolekit2.github.io/ConsoleKit2/"
|
|
license="GPL-2"
|
|
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
|
|
checksum=e8755fd12130ab5c2efe50d0e0314e748e70502ccc42912490488366f7f39e52
|
|
|
|
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"
|
|
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|