Contents of /branches/R11-stable/extras/xdm/xdm-1.1.11-r4.smage2
Parent Directory | Revision Log
Revision 24160 -
(show annotations)
(download)
Fri Feb 20 09:14:45 2015 UTC (9 years, 7 months ago) by niro
File size: 877 byte(s)
Fri Feb 20 09:14:45 2015 UTC (9 years, 7 months ago) by niro
File size: 877 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="xdm" |
4 | PVER="1.1.11" |
5 | PBUILD="r4" |
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 | } |