ConsoleKit: add -devel subpkg; fixed cross build; enable polkit.

This commit is contained in:
Juan RP 2014-07-28 08:27:11 +02:00
parent 39174f7cb0
commit 819e4bdf18
2 changed files with 19 additions and 7 deletions

1
srcpkgs/ConsoleKit-devel Symbolic link
View file

@ -0,0 +1 @@
ConsoleKit

View file

@ -1,17 +1,28 @@
# Template file for 'gnome-calculator' # Template file for 'gnome-calculator'
pkgname=ConsoleKit pkgname=ConsoleKit
version=0.4.6 version=0.4.6
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config dbus-glib-devel glib-devel libX11-devel pam-devel" hostmakedepends="automake libtool pkg-config glib-devel"
makedepends="polkit-devel dbus-glib-devel glib-devel libX11-devel pam-devel"
short_desc="A framework for defining and tracking users, login sessions, and seats" short_desc="A framework for defining and tracking users, login sessions, and seats"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit" homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
license="GPL" license="GPL"
distfiles="http://www.freedesktop.org/software/ConsoleKit/dist/${pkgname}-${version}.tar.xz" distfiles="http://www.freedesktop.org/software/ConsoleKit/dist/${pkgname}-${version}.tar.xz"
checksum=b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c checksum=b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c
configure_args=" --sysconfdir=/etc \ configure_args="--with-pam-module-dir=/usr/lib/security --enable-pam-module"
--localstatedir=/var \
--libexecdir=/usr/libexec \ pre_configure() {
--with-pam-module-dir=/usr/lib/security \ autoreconf -fi
--enable-pam-module" }
ConsoleKit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}