Magellan Linux

Annotation of /trunk/core/xinit/xinit-1.1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 714 - (hide annotations) (download)
Fri Dec 26 01:04:21 2008 UTC (15 years, 6 months ago) by niro
File size: 1384 byte(s)
-ver bump to 1.1.1-r1
1 niro 714 # $Header: /magellan-cvs/smage/xinit/xinit-1.1.0-r1.smage2,v 1.2 2008/07/31 17:46:24 niro Exp $
2    
3     PNAME="xinit"
4     PVER="1.1.1"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="X Window System initializer."
11     HOMEPAGE="http://xorg.freedesktop.org"
12    
13     sminclude xorg mtools
14    
15     DEPEND=">= x11-libs/libX11-1
16     >= x11-wm/twm-1
17     >= x11-apps/xclock-1
18     >= x11-apps/xrdb-1
19     >= x11-terms/xterm-1
20     >= sys-libs/pam-0.99"
21    
22     # cvs revisions
23     XDM_RC=xdm.rc-1.2
24     XDM_START=startxdm-1.2
25     XSERVER_PAMD=xserver.pamd-1.2
26    
27     SRC_URI=( ${SRC_URI[*]}
28     mirror://${PNAME}/${SRCFILE}
29     mirror://${PNAME}/${XSERVER_PAMD}
30     mirror://${PNAME}/${XDM_RC}
31     mirror://${PNAME}/${XDM_START}
32     mirror://${PNAME}/${PNAME}-1.0.9-nolisten-tcp.patch
33     mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch
34     )
35    
36     UP2DATE="updatecmd_xorg ${PNAME}"
37    
38     src_prepare()
39     {
40     munpack ${SRCFILE} || die
41     cd ${SRCDIR}
42    
43     # enable --no-listen tcp
44     mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die
45    
46     # use a black background
47     mpatch ${PNAME}-1.0.9-black-bg.patch || die
48    
49     # fix xinit config dir
50     sed -i "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" Makefile.am || die
51     autoreconf -v --force --install || die
52     }
53    
54     src_install()
55     {
56     xorg_src_install || die
57    
58     # pam configs
59     minstallpam ${XSERVER_PAMD} xserver || die
60    
61     # rc-scripts
62     minstallrc ${XDM_RC} xdm || die
63     minstalldir /etc/X11 || die
64     minstallexec -s ${XDM_START} /etc/X11/startxdm || die
65     }

Properties

Name Value
svn:keywords Id