Contents of /trunk/core/xinit/xinit-1.1.1-r1.smage2
Parent Directory | Revision Log
Revision 765 -
(show annotations)
(download)
Fri Dec 26 02:06:08 2008 UTC (15 years, 9 months ago) by niro
File size: 1403 byte(s)
Fri Dec 26 02:06:08 2008 UTC (15 years, 9 months ago) by niro
File size: 1403 byte(s)
-fixed dependencies and rc-script
1 | # $Header: /magellan-cvs/smage/xinit/xinit-1.1.0-r1.smage2,v 1.2 2008/07/31 17:46:24 niro Exp $ |
2 | |
3 | PNAME="xinit" |
4 | PVER="1.1.1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="X Window System initializer." |
11 | HOMEPAGE="http://xorg.freedesktop.org" |
12 | |
13 | sminclude xorg mtools |
14 | |
15 | DEPEND=">= x11-libs/libX11-1 |
16 | >= x11-wm/twm-1 |
17 | >= x11-apps/xclock-1 |
18 | >= x11-apps/xrdb-1 |
19 | >= x11-apps/xsm-1 |
20 | >= x11-terms/xterm-1 |
21 | >= sys-libs/pam-0.99" |
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 | # fix xinit config dir |
51 | sed -i "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" Makefile.am || die |
52 | autoreconf -v --force --install || die |
53 | } |
54 | |
55 | src_install() |
56 | { |
57 | xorg_src_install || die |
58 | |
59 | # pam configs |
60 | minstallpam ${XSERVER_PAMD} xserver || die |
61 | |
62 | # rc-scripts |
63 | minstallrc ${XDM_RC} xdm || die |
64 | minstalldir /etc/X11 || die |
65 | minstallexec -s ${XDM_START} /etc/X11/startxdm || die |
66 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |