1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
27 lines
1 KiB
Bash
27 lines
1 KiB
Bash
# Template file for 'slim'
|
|
pkgname=slim
|
|
version=1.3.6
|
|
revision=8
|
|
lib32disabled=yes
|
|
build_style=cmake
|
|
build_options="systemd"
|
|
configure_args="$(vopt_if systemd '-DUSE_CONSOLEKIT=0' '-DUSE_CONSOLEKIT=1') -DUSE_PAM=yes
|
|
-DFREETYPE_INCLUDE_DIR_freetype2=${XBPS_CROSS_BASE}/usr/include/freetype2"
|
|
hostmakedepends="cmake pkg-config"
|
|
makedepends="libpng-devel freetype-devel libjpeg-turbo-devel libXrandr-devel
|
|
libXmu-devel libXft-devel pam-devel $(vopt_if systemd systemd-devel ConsoleKit-devel)"
|
|
conf_files="/etc/slim.conf /etc/pam.d/slim"
|
|
short_desc="Desktop-independent graphical login manager for X11"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://sourceforge.net/projects/slim.berlios/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}.berlios/${pkgname}-${version}.tar.gz"
|
|
checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df
|
|
|
|
pre_configure() {
|
|
sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt
|
|
}
|
|
post_install() {
|
|
vsv slim
|
|
vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim
|
|
}
|