Magellan Linux

Contents of /trunk/core/xinit/xinit-1.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
Original Path: trunk/extras/xinit/xinit-1.1.0-r1.smage2
File size: 1349 byte(s)
import repo
1 # $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.0"
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 src_prepare()
37 {
38 munpack ${SRCFILE} || die
39 cd ${SRCDIR}
40
41 # enable --no-listen tcp
42 mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die
43
44 # use a black background
45 mpatch ${PNAME}-1.0.9-black-bg.patch || die
46
47 # fix xinit config dir
48 sed -i "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" Makefile.am || die
49 autoreconf -v --force --install || die
50 }
51
52 src_install()
53 {
54 xorg_src_install || die
55
56 # pam configs
57 minstallpam ${XSERVER_PAMD} xserver || die
58
59 # rc-scripts
60 minstallrc ${XDM_RC} xdm || die
61 minstalldir /etc/X11 || die
62 minstallexec -s ${XDM_START} /etc/X11/startxdm || die
63 }

Properties

Name Value
svn:keywords Id