void-packages/srcpkgs/polkit/template

40 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'polkit'
pkgname=polkit
2013-09-19 06:14:02 +00:00
version=0.112
2013-05-30 21:48:36 +00:00
revision=1
build_style=gnu-configure
2012-10-06 13:32:40 +00:00
configure_args="--disable-static --enable-systemd=yes --with-authfw=pam
2012-11-20 23:02:33 +00:00
--with-systemdsystemunitdir=/usr/lib/systemd/system"
short_desc="Authorization Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-01-07 13:08:48 +00:00
homepage="http://www.freedesktop.org/wiki/Software/polkit"
2011-08-18 07:14:31 +00:00
license="GPL-2"
2013-01-07 13:08:48 +00:00
distfiles="http://www.freedesktop.org/software/polkit/releases/polkit-${version}.tar.gz"
2013-09-19 06:14:02 +00:00
checksum=d695f43cba4748a822fbe864dd32c4887c5da1c71694a47693ace5e88fcf6af6
2012-11-20 23:02:33 +00:00
2013-05-30 21:48:36 +00:00
hostmakedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection"
makedepends="glib-devel expat-devel pam-devel systemd-devel js-devel shadow"
depends="shadow"
system_accounts="polkitd"
2011-10-11 01:30:56 +00:00
pre_configure() {
# Drop requirement of /sys/fs/cgroup/systemd test in configure... WTF.
sed -e 's,/sys/fs/cgroup/systemd/,/sys/fs/cgroup,g' -i configure
}
post_install() {
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
2012-10-06 13:32:40 +00:00
vinstall ${FILESDIR}/polkit.tmpfiles 644 usr/lib/tmpfiles.d polkit.conf
}
polkit-devel_package() {
depends="libglib-devel polkit>=${version}"
2013-05-30 21:48:36 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
2013-09-19 06:14:02 +00:00
vmove "usr/lib/*.so"
}
}