ConsoleKit: add -devel subpkg; fixed cross build; enable polkit.
This commit is contained in:
parent
39174f7cb0
commit
819e4bdf18
|
@ -0,0 +1 @@
|
|||
ConsoleKit
|
|
@ -1,17 +1,28 @@
|
|||
# Template file for 'gnome-calculator'
|
||||
pkgname=ConsoleKit
|
||||
version=0.4.6
|
||||
revision=1
|
||||
revision=2
|
||||
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"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/ConsoleKit"
|
||||
license="GPL"
|
||||
distfiles="http://www.freedesktop.org/software/ConsoleKit/dist/${pkgname}-${version}.tar.xz"
|
||||
checksum=b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c
|
||||
configure_args=" --sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/libexec \
|
||||
--with-pam-module-dir=/usr/lib/security \
|
||||
--enable-pam-module"
|
||||
configure_args="--with-pam-module-dir=/usr/lib/security --enable-pam-module"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
ConsoleKit-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue