Contents of /branches/R11-stable/extras/xinit/xinit-1.3.3-r1.smage2
Parent Directory | Revision Log
Revision 20083 -
(show annotations)
(download)
Tue Nov 26 10:01:03 2013 UTC (10 years, 10 months ago) by niro
File size: 1154 byte(s)
Tue Nov 26 10:01:03 2013 UTC (10 years, 10 months ago) by niro
File size: 1154 byte(s)
-moved to extras
1 | # $Id$ |
2 | |
3 | PNAME="xinit" |
4 | PVER="1.3.3" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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 | # xinitrc rev |
23 | RC_REV=1.2 |
24 | |
25 | SRC_URI=( ${SRC_URI[*]} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/xserver.pamd-systemauth |
28 | mirror://${PNAME}/xinitrc.skel-${RC_REV} |
29 | mirror://${PNAME}/${PNAME}-1.0.9-nolisten-tcp.patch |
30 | mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch |
31 | ) |
32 | |
33 | UP2DATE="updatecmd_xorg ${PNAME}" |
34 | |
35 | src_prepare() |
36 | { |
37 | munpack ${SRCFILE} || die |
38 | cd ${SRCDIR} |
39 | |
40 | # enable --no-listen tcp |
41 | mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die |
42 | |
43 | # use a black background |
44 | mpatch ${PNAME}-1.0.9-black-bg.patch || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | xorg_src_configure --with-xinitdir=/etc/X11/xinit || die |
50 | mmake || die |
51 | } |
52 | |
53 | src_install() |
54 | { |
55 | xorg_src_install || die |
56 | |
57 | # pam configs |
58 | minstallpam xserver.pamd-systemauth xserver || die |
59 | |
60 | # .xinitrc skel |
61 | minstalldir /etc/skel || die |
62 | minstallfile -s xinitrc.skel-${RC_REV} /etc/skel/.xinitrc || die |
63 | } |