void-packages/srcpkgs/xdm/template

36 lines
956 B
Bash

# Template file for 'xdm'
pkgname=xdm
version=1.1.14
revision=2
build_style=gnu-configure
configure_args="--with-random-device=/dev/urandom
--with-utmp-file=/var/run/utmp
--with-wtmp-file=/var/log/wtmp
--with-xdmconfigdir=/etc/X11/xdm
--with-pam
--with-xft"
conf_files="/etc/pam.d/xdm
/etc/X11/xdm/Xaccess
/etc/X11/xdm/xdm-config
/etc/X11/xdm/Xresources
/etc/X11/xdm/Xservers"
hostmakedepends="pkg-config"
makedepends="pam-devel libXaw-devel libXft-devel"
depends="sessreg xconsole xsm"
short_desc="X Display Manager"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
checksum=3e9bf25636797ec9e595286dd6820ecc33901439f07705eaf608ecda012c3d5f
pre_configure() {
export DEF_USER_PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
}
post_install() {
vsv xdm
vinstall ${FILESDIR}/xdm.pam 644 etc/pam.d xdm
vlicense COPYING
}