Contents of /branches/magellan-next/core/xinit/xinit-1.2.1-r2.smage2
Parent Directory | Revision Log
Revision 6491 -
(show annotations)
(download)
Wed Aug 25 22:11:21 2010 UTC (14 years, 1 month ago) by niro
File size: 1313 byte(s)
Wed Aug 25 22:11:21 2010 UTC (14 years, 1 month ago) by niro
File size: 1313 byte(s)
-fixed xinitdir
1 | # $Id: xinit-1.2.1-r1.smage2 5299 2010-04-20 19:16:22Z niro $ |
2 | |
3 | PNAME="xinit" |
4 | PVER="1.2.1" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="x11-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="X Window System initializer." |
11 | HOMEPAGE="http://xorg.freedesktop.org" |
12 | |
13 | DEPEND=">= x11-libs/libX11-1 |
14 | >= x11-wm/twm-1 |
15 | >= x11-apps/xclock-1 |
16 | >= x11-apps/xrdb-1 |
17 | >= x11-apps/xsm-1 |
18 | >= x11-terms/xterm-1 |
19 | >= sys-libs/pam-1.1" |
20 | |
21 | sminclude xorg mtools |
22 | |
23 | # cvs revisions |
24 | XDM_RC=xdm.rc-1.3 |
25 | XDM_START=startxdm-1.2 |
26 | XSERVER_PAMD=xserver.pamd-1.2 |
27 | |
28 | SRC_URI=( ${SRC_URI[*]} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | mirror://${PNAME}/${XSERVER_PAMD} |
31 | mirror://${PNAME}/${XDM_RC} |
32 | mirror://${PNAME}/${XDM_START} |
33 | mirror://${PNAME}/${PNAME}-1.0.9-nolisten-tcp.patch |
34 | mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch |
35 | ) |
36 | |
37 | UP2DATE="updatecmd_xorg ${PNAME}" |
38 | |
39 | src_prepare() |
40 | { |
41 | munpack ${SRCFILE} || die |
42 | cd ${SRCDIR} |
43 | |
44 | # enable --no-listen tcp |
45 | mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die |
46 | |
47 | # use a black background |
48 | mpatch ${PNAME}-1.0.9-black-bg.patch || die |
49 | } |
50 | |
51 | src_compile() |
52 | { |
53 | xorg_src_configure --with-xinitdir=/etc/X11/xinit || die |
54 | mmake || die |
55 | } |
56 | |
57 | src_install() |
58 | { |
59 | xorg_src_install || die |
60 | |
61 | # pam configs |
62 | minstallpam ${XSERVER_PAMD} xserver || die |
63 | |
64 | # rc-scripts |
65 | minstallrc ${XDM_RC} xdm || die |
66 | minstalldir /etc/X11 || die |
67 | minstallexec -s ${XDM_START} /etc/X11/startxdm || die |
68 | } |