40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Template file for 'xdm'
|
|
pkgname=xdm
|
|
version=1.1.16
|
|
revision=1
|
|
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=bcf2209881e95708363777b282fedb1c1055790f38046fa46beff2f1d087679c
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|
|
|
|
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
|
|
}
|