Annotation of /branches/magellan-next/core/xinit/xinit-1.3.1-r1.smage2
Parent Directory | Revision Log
Revision 8777 -
(hide annotations)
(download)
Thu Jul 28 16:35:31 2011 UTC (12 years, 9 months ago) by niro
File size: 1243 byte(s)
Thu Jul 28 16:35:31 2011 UTC (12 years, 9 months ago) by niro
File size: 1243 byte(s)
auto added: ver bump to 1.3.1-r1
1 | niro | 8777 | # $Id$ |
2 | |||
3 | PNAME="xinit" | ||
4 | PVER="1.3.1" | ||
5 | PBUILD="r1" | ||
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 | # cvs revisions | ||
23 | XDM_RC=xdm.rc-1.3 | ||
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 | |||
50 | src_compile() | ||
51 | { | ||
52 | xorg_src_configure --with-xinitdir=/etc/X11/xinit || die | ||
53 | mmake || die | ||
54 | } | ||
55 | |||
56 | src_install() | ||
57 | { | ||
58 | xorg_src_install || die | ||
59 | |||
60 | # pam configs | ||
61 | minstallpam ${XSERVER_PAMD} xserver || die | ||
62 | |||
63 | # rc-scripts | ||
64 | minstallrc ${XDM_RC} xdm || die | ||
65 | minstalldir /etc/X11 || die | ||
66 | minstallexec -s ${XDM_START} /etc/X11/startxdm || die | ||
67 | } |