mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
39 lines
1 KiB
Bash
39 lines
1 KiB
Bash
# Template file for 'xdm'
|
|
pkgname=xdm
|
|
version=1.1.17
|
|
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=9494aef0911a031c53670725b5c8c9bb9d3f7c5ea7318b1f72ddd9dcbbeceb6a
|
|
|
|
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
|
|
}
|