void-packages/srcpkgs/slim/template

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2012-12-17 16:09:22 +01:00
# Template file for 'slim'
pkgname=slim
2013-10-05 09:12:20 +02:00
version=1.3.6
revision=4
2014-03-24 18:13:03 +01:00
lib32disabled=yes
2012-12-17 16:09:22 +01:00
build_style=cmake
2014-01-28 11:15:04 +01:00
configure_args="-DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DFREETYPE_INCLUDE_DIR_freetype2=${XBPS_CROSS_BASE}/usr/include/freetype2"
2013-10-05 09:12:20 +02:00
hostmakedepends="cmake pkg-config"
2014-01-28 11:15:04 +01:00
makedepends="libpng-devel>=1.6 freetype-devel libjpeg-turbo-devel libXrandr-devel libXmu-devel libXft-devel pam-devel"
conf_files="/etc/slim.conf /etc/pam.d/slim"
systemd_services="slim.service off"
2012-12-17 16:09:22 +01:00
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-10-05 09:12:20 +02:00
checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df
2012-12-17 16:09:22 +01:00
2013-01-19 11:06:07 +01:00
pre_configure() {
2013-10-05 09:12:20 +02:00
sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt
2013-01-19 11:06:07 +01:00
}
2012-12-17 16:09:22 +01:00
post_install() {
vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim
2013-10-28 11:14:57 +01:00
sed -e 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt01|' \
-e 's|/var/run/slim.lock|/run/slim.lock|' -i ${DESTDIR}/etc/slim.conf
2012-12-17 16:09:22 +01:00
}