Contents of /trunk/extras/xdm/xdm-1.1.11-r1.smage2
Parent Directory
|
Revision Log
Revision 12158 -
(show annotations)
(download)
Wed May 9 14:05:42 2012 UTC (12 years, 1 month ago) by niro
File size: 943 byte(s)
Wed May 9 14:05:42 2012 UTC (12 years, 1 month ago) by niro
File size: 943 byte(s)
auto added: ver bump to 1.1.11-r1
1 | # $Id$ |
2 | |
3 | PNAME="xdm" |
4 | PVER="1.1.11" |
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 | 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.pam-systemauth |
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.pam-systemauth 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 | } |