void-packages/srcpkgs/slim/template

32 lines
865 B
Plaintext
Raw Normal View History

2012-12-17 16:09:22 +01:00
# Template file for 'slim'
pkgname=slim
2013-01-19 11:06:07 +01:00
version=1.3.5
2013-04-30 11:59:01 +02:00
revision=3
2012-12-17 16:09:22 +01:00
build_style=cmake
configure_args="-DUSE_PAM=yes -DUSE_CONSOLEKIT=no"
short_desc="Desktop-independent graphical login manager for X11"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://slim.berlios.de/"
distfiles="http://download.berlios.de/slim/slim-${version}.tar.gz"
2013-01-19 11:06:07 +01:00
checksum=818d209f51e2fa8d5b94ef75ce90a7415be48b45e796d66f8083a9532b655629
2012-12-17 16:09:22 +01:00
2013-03-24 15:34:33 +01:00
# XXX make cmake find host libraries .
2013-04-30 11:59:01 +02:00
makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libX11-devel libXmu-devel libXft-devel pam-devel"
2013-03-24 15:34:33 +01:00
hostmakedepends="cmake pkg-config ${makedepends}"
2012-12-17 16:09:22 +01:00
2013-01-19 11:06:07 +01:00
pre_configure() {
sed -i 's|usr/lib/systemd/system|/&|' CMakeLists.txt
}
2012-12-17 16:09:22 +01:00
post_install() {
vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim
}
slim_package() {
conf_files="/etc/slim.conf /etc/pam.d/slim"
pkg_install() {
2013-04-30 11:59:01 +02:00
vmove all
}
}