Magellan Linux

Contents of /trunk/extras/xdm/xdm-1.1.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33119 - (show annotations) (download)
Thu Oct 17 21:00:09 2019 UTC (4 years, 6 months ago) by niro
File size: 877 byte(s)
auto added: ver bump to 1.1.12-r1
1 # $Id$
2
3 PNAME="xdm"
4 PVER="1.1.12"
5 PBUILD="r1"
6
7 PCAT="x11-apps"
8
9 DESCRIPTION="A basic X display manager allowing graphic login for workstations."
10 HOMEPAGE="http://xorg.freedesktop.org"
11
12 DEPEND=">= x11-apps/xrdb-1
13 >= x11-libs/libXdmcp-1
14 >= x11-libs/libXaw-1
15 >= x11-apps/xinit-1
16 >= x11-libs/libX11-1
17 >= x11-libs/libXt-1
18 >= sys-libs/pam-0.99"
19
20 sminclude xorg mtools
21
22 SRC_URI=( ${SRC_URI[*]}
23 mirror://${PNAME}/xdm-systemauth.pamd
24 )
25
26 src_compile()
27 {
28 cd ${SRCDIR}
29
30 xorg_src_configure \
31 --with-xdmconfigdir=/etc/X11/xdm \
32 --enable-pam \
33 --enable-ipv6 \
34 --enable-xprint \
35 || die
36
37 mmake || die
38 }
39
40 src_install()
41 {
42 xorg_src_install || die
43 minstallpam xdm-systemauth.pamd xdm || die
44 }
45
46 preinstall()
47 {
48 # check for leftover /usr/lib/X11/xdm symlink
49 if [[ -L "/usr/lib/X11/xdm" ]]
50 then
51 echo " /usr/lib/X11/xdm is a symlink; deleting."
52 rm /usr/lib/X11/xdm
53 fi
54 }