Annotation of /branches/R11-stable/extras/xdm/xdm-1.1.11-r3.smage2
Parent Directory
|
Revision Log
Revision 15414 -
(hide annotations)
(download)
Wed Jan 2 11:41:24 2013 UTC (11 years, 5 months ago) by niro
File size: 945 byte(s)
Wed Jan 2 11:41:24 2013 UTC (11 years, 5 months ago) by niro
File size: 945 byte(s)
-release branches/R11-stable
1 | niro | 13645 | # $Id$ |
2 | |||
3 | PNAME="xdm" | ||
4 | PVER="1.1.11" | ||
5 | PBUILD="r3" | ||
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 | sminclude xorg mtools | ||
13 | |||
14 | DEPEND=">= x11-apps/xrdb-1 | ||
15 | >= x11-libs/libXdmcp-1 | ||
16 | >= x11-libs/libXaw-1 | ||
17 | >= x11-apps/xinit-1 | ||
18 | >= x11-libs/libX11-1 | ||
19 | >= x11-libs/libXt-1 | ||
20 | >= sys-libs/pam-0.99" | ||
21 | |||
22 | SDEPEND=">= x11-proto/xproto-1" | ||
23 | |||
24 | SRC_URI=( ${SRC_URI[*]} | ||
25 | mirror://${PNAME}/xdm-systemauth.pamd | ||
26 | ) | ||
27 | |||
28 | UP2DATE="updatecmd_xorg ${PNAME}" | ||
29 | |||
30 | src_compile() | ||
31 | { | ||
32 | cd ${SRCDIR} | ||
33 | |||
34 | xorg_src_configure \ | ||
35 | --with-xdmconfigdir=/etc/X11/xdm \ | ||
36 | --enable-pam \ | ||
37 | --enable-ipv6 \ | ||
38 | --enable-xprint \ | ||
39 | || die | ||
40 | |||
41 | mmake || die | ||
42 | } | ||
43 | |||
44 | src_install() | ||
45 | { | ||
46 | xorg_src_install || die | ||
47 | minstallpam xdm-systemauth.pamd xdm || die | ||
48 | } | ||
49 | |||
50 | preinstall() | ||
51 | { | ||
52 | # check for leftover /usr/lib/X11/xdm symlink | ||
53 | if [[ -L "/usr/lib/X11/xdm" ]] | ||
54 | then | ||
55 | echo " /usr/lib/X11/xdm is a symlink; deleting." | ||
56 | rm /usr/lib/X11/xdm | ||
57 | fi | ||
58 | } |