Magellan Linux

Contents of /branches/magellan-next/core/xinit/xinit-1.3.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9430 - (show annotations) (download)
Tue Nov 29 22:26:38 2011 UTC (12 years, 5 months ago) by niro
File size: 1114 byte(s)
-bump
1 # $Id$
2
3 PNAME="xinit"
4 PVER="1.3.1"
5 PBUILD="r3"
6
7 PCATEGORIE="x11-apps"
8
9 DESCRIPTION="X Window System initializer."
10 HOMEPAGE="http://xorg.freedesktop.org"
11
12 DEPEND=">= x11-libs/libX11-1.4
13 >= x11-wm/twm-1
14 >= x11-apps/xclock-1
15 >= x11-apps/xrdb-1
16 >= x11-apps/xsm-1
17 >= x11-terms/xterm-1
18 >= sys-libs/pam-1.1"
19
20 sminclude xorg mtools
21
22 SRC_URI=( ${SRC_URI[*]}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/xserver.pamd-systemauth
25 mirror://${PNAME}/xinitrc.skel
26 mirror://${PNAME}/${PNAME}-1.0.9-nolisten-tcp.patch
27 mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch
28 )
29
30 UP2DATE="updatecmd_xorg ${PNAME}"
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 cd ${SRCDIR}
36
37 # enable --no-listen tcp
38 mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die
39
40 # use a black background
41 mpatch ${PNAME}-1.0.9-black-bg.patch || die
42 }
43
44 src_compile()
45 {
46 xorg_src_configure --with-xinitdir=/etc/X11/xinit || die
47 mmake || die
48 }
49
50 src_install()
51 {
52 xorg_src_install || die
53
54 # pam configs
55 minstallpam xserver.pamd-systemauth xserver || die
56
57 # .xinitrc skel
58 minstalldir /etc/skel || die
59 minstallfile -s xinitrc.skel /etc/skel/.xinitrc || die
60 }