crux-ports/packages/x/xorg-xdm/Pkgfile

29 lines
571 B
Plaintext
Raw Normal View History

2024-03-14 15:59:11 +00:00
# Description: X display manager
# URL: http://xorg.freedesktop.org
# Maintainer: Alexander Zhirov
# Depends on: linux-pam xorg-server xorg-xrdb
name=xorg-xdm
version=1.1.14
release=1
source=(
https://www.x.org/releases/individual/app/xdm-$version.tar.xz
xdm
xdm.pam
)
build() {
cd xdm-$version
./configure \
--prefix=/usr \
--with-xdmconfigdir=/etc/X11/xdm \
--enable-xdmshell
make
make DESTDIR=$PKG install
install -D -m 755 $SRC/xdm $PKG/etc/rc.d/xdm
install -D -m 755 $SRC/xdm.pam $PKG/etc/pam.d/xdm
}