Contents of /branches/R11-stable/extras/xinit/xinit-1.3.4-r2.smage2
Parent Directory | Revision Log
Revision 24144 -
(show annotations)
(download)
Fri Feb 20 09:10:47 2015 UTC (9 years, 7 months ago) by niro
File size: 1119 byte(s)
Fri Feb 20 09:10:47 2015 UTC (9 years, 7 months ago) by niro
File size: 1119 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="xinit" |
4 | PVER="1.3.4" |
5 | PBUILD="r2" |
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 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | cd ${SRCDIR} |
37 | |
38 | # enable --no-listen tcp |
39 | mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die |
40 | |
41 | # use a black background |
42 | mpatch ${PNAME}-1.0.9-black-bg.patch || die |
43 | } |
44 | |
45 | src_compile() |
46 | { |
47 | xorg_src_configure --with-xinitdir=/etc/X11/xinit || die |
48 | mmake || die |
49 | } |
50 | |
51 | src_install() |
52 | { |
53 | xorg_src_install || die |
54 | |
55 | # pam configs |
56 | minstallpam xserver.pamd-systemauth xserver || die |
57 | |
58 | # .xinitrc skel |
59 | minstalldir /etc/skel || die |
60 | minstallfile -s xinitrc.skel-${RC_REV} /etc/skel/.xinitrc || die |
61 | } |