Annotation of /branches/branch-xorg18/core/xterm/xterm-250-r3.smage2
Parent Directory | Revision Log
Revision 4065 -
(hide annotations)
(download)
Tue Nov 17 21:54:57 2009 UTC (14 years, 7 months ago) by niro
Original Path: trunk/core/xterm/xterm-250-r3.smage2
File size: 2112 byte(s)
Tue Nov 17 21:54:57 2009 UTC (14 years, 7 months ago) by niro
Original Path: trunk/core/xterm/xterm-250-r3.smage2
File size: 2112 byte(s)
-rebuild and fixed dependencies
1 | niro | 4065 | # $Id$ |
2 | |||
3 | PNAME="xterm" | ||
4 | PVER="250" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="x11-terms" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Terminal Emulator for X Windows." | ||
11 | HOMEPAGE="http://dickey.his.com/xterm/" | ||
12 | |||
13 | DEPEND=">= x11-libs/libX11-1 | ||
14 | >= x11-libs/libXrender-1 | ||
15 | >= x11-libs/libXt-1 | ||
16 | >= x11-libs/libXmu-1 | ||
17 | >= x11-libs/libxkbfile-1 | ||
18 | >= x11-libs/libXft-1 | ||
19 | >= x11-libs/libXaw-1 | ||
20 | >= sys-apps/utempter-0.5 | ||
21 | >= x11-apps/luit-1 | ||
22 | >= sys-libs/ncurses-5.7" | ||
23 | |||
24 | SDEPEND=">= x11-proto/xproto-1" | ||
25 | |||
26 | SRCFILE="${PNAME}-${PVER}.tgz" | ||
27 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
28 | |||
29 | sminclude mtools | ||
30 | |||
31 | # fetch'em at ftp://invisible-island.net/xterm/ | ||
32 | SRC_URI=( | ||
33 | ftp://invisible-island.net/${PNAME}/${SRCFILE} | ||
34 | http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} | ||
35 | mirror://${PNAME}/${SRCFILE} | ||
36 | ) | ||
37 | |||
38 | UP2DATE="updatecmd ftp://invisible-island.net/xterm/ | lasttarball tgz" | ||
39 | |||
40 | src_prepare() | ||
41 | { | ||
42 | munpack ${SRCFILE} || die | ||
43 | } | ||
44 | |||
45 | src_compile() | ||
46 | { | ||
47 | cd ${SRCDIR} | ||
48 | |||
49 | mconfigure \ | ||
50 | --libdir=/etc \ | ||
51 | --disable-narrowproto \ | ||
52 | --with-app-defaults=/usr/$(mlibdir)/X11/app-defaults \ | ||
53 | --with-utempter \ | ||
54 | --disable-setuid \ | ||
55 | --disable-full-tgetent \ | ||
56 | --disable-imake \ | ||
57 | --with-x \ | ||
58 | --enable-ansi-color \ | ||
59 | --enable-88-color \ | ||
60 | --enable-256-color \ | ||
61 | --enable-broken-osc \ | ||
62 | --enable-broken-st \ | ||
63 | --enable-load-vt-fonts \ | ||
64 | --enable-i18n \ | ||
65 | --enable-wide-chars \ | ||
66 | --enable-doublechars \ | ||
67 | --enable-warnings \ | ||
68 | --enable-tcap-query \ | ||
69 | --enable-logging \ | ||
70 | --enable-dabbrev \ | ||
71 | --enable-freetype \ | ||
72 | --enable-luit \ | ||
73 | || die | ||
74 | |||
75 | mmake || die | ||
76 | } | ||
77 | |||
78 | src_install() | ||
79 | { | ||
80 | cd ${SRCDIR} | ||
81 | |||
82 | mmake DESTDIR=${BINDIR} install || die | ||
83 | |||
84 | # fix perms | ||
85 | mchmod 0755 /usr/bin/xterm || die | ||
86 | |||
87 | # restore the navy blue | ||
88 | sed -i "s:blue2$:blue:" ${BINDIR}/usr/$(mlibdir)/X11/app-defaults/XTerm-color || die | ||
89 | |||
90 | # security issues | ||
91 | echo "*allowWindowOps: false" >> ${BINDIR}/usr/$(mlibdir)/X11/app-defaults/XTerm || die | ||
92 | echo "*allowWindowOps: false" >> ${BINDIR}/usr/$(mlibdir)/X11/app-defaults/UXTerm || die | ||
93 | |||
94 | minstalldocs README README.i18n || die | ||
95 | } | ||
96 | |||
97 | pkg_preinst() | ||
98 | { | ||
99 | # prevent the terminfo files from being removed | ||
100 | touch ${MROOT}/usr/share/terminfo/v/vs100 | ||
101 | touch ${MROOT}/usr/share/terminfo/x/x* | ||
102 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |