Magellan Linux

Contents of /trunk/todo/xdm/xdm-1.1.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2660 - (show annotations) (download)
Thu Jul 9 20:44:41 2009 UTC (14 years, 10 months ago) by niro
File size: 1086 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/xdm/xdm-1.1.8-r1.smage2,v 1.1 2008/05/29 11:58:09 niro Exp $
2
3 PNAME="xdm"
4 PVER="1.1.8"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-apps"
8 STATE="unstable"
9
10 DESCRIPTION="A basic X display manager allowing graphic login for workstations."
11 HOMEPAGE="http://xorg.freedesktop.org"
12
13 sminclude xorg mtools
14
15 # cvs revisions
16 XDM_PAMD=xdm.pamd-1.2
17
18 SRC_URI=( ${SRC_URI[*]}
19 mirror://${PNAME}/${SRCFILE}
20 mirror://${PNAME}/${XDM_PAMD}
21 )
22
23 DEPEND=">= x11-apps/xrdb-1
24 >= x11-libs/libXdmcp-1
25 >= x11-libs/libXaw-1
26 >= x11-apps/xinit-1
27 >= x11-libs/libX11-1
28 >= x11-libs/libXt-1
29 >= sys-libs/pam-0.99"
30
31 SDEPEND=">= x11-proto/xproto-1"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 xorg_src_configure \
38 --with-xdmconfigdir=/etc/X11/xdm \
39 --enable-pam \
40 --enable-ipv6 \
41 --enable-xprint \
42 || die
43
44 mmake || die
45 }
46
47 src_install()
48 {
49 xorg_src_install || die
50
51 # pam configs
52 minstallpam ${XDM_PAMD} xdm || die
53 }
54
55 preinstall()
56 {
57 # check for leftover /usr/lib/X11/xdm symlink
58 if [[ -L "/usr/lib/X11/xdm" ]]
59 then
60 echo " /usr/lib/X11/xdm is a symlink; deleting."
61 rm /usr/lib/X11/xdm
62 fi
63 }

Properties

Name Value
svn:keywords Id