Magellan Linux

Annotation of /trunk/extras/xterm/xterm-330-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31120 - (hide annotations) (download)
Mon Jun 4 10:48:51 2018 UTC (5 years, 11 months ago) by niro
File size: 1951 byte(s)
auto added: ver bump to 330-r2
1 niro 31120 # $Id$
2    
3     PNAME="xterm"
4     PVER="330"
5     PBUILD="r2"
6    
7     PCAT="x11-terms"
8    
9     DESCRIPTION="Terminal Emulator for X Windows."
10     HOMEPAGE="http://dickey.his.com/xterm/"
11    
12     DEPEND=">= x11-libs/libX11-1.6
13     >= x11-libs/libXrender-0.9
14     >= x11-libs/libXt-1.1
15     >= x11-libs/libXmu-1.1
16     >= x11-libs/libxkbfile-1
17     >= x11-libs/libXft-2.2
18     >= x11-libs/libXaw-1
19     >= x11-apps/luit-1.1
20     >= sys-libs/ncurses-6.0
21     >= sys-libs/libutempter-1.1.5"
22    
23     SDEPEND=">= virtual/xproto"
24    
25     SRCFILE="${PNAME}-${PVER}.tgz"
26     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27    
28     sminclude mtools
29    
30     # fetch'em at ftp://invisible-island.net/xterm/
31     SRC_URI=(
32     ftp://invisible-island.net/${PNAME}/${SRCFILE}
33     http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
34     mirror://${PNAME}/${SRCFILE}
35     )
36    
37     UP2DATE="updatecmd ftp://invisible-island.net/xterm/ | lasttarball tgz"
38    
39     src_prepare()
40     {
41     munpack ${SRCFILE} || die
42     }
43    
44     src_compile()
45     {
46     cd ${SRCDIR}
47    
48     mconfigure \
49     --libdir=/etc \
50     --disable-narrowproto \
51     --with-app-defaults=/usr/$(mlibdir)/X11/app-defaults \
52     --with-utempter \
53     --disable-setuid \
54     --disable-full-tgetent \
55     --disable-imake \
56     --with-x \
57     --enable-ansi-color \
58     --enable-88-color \
59     --enable-256-color \
60     --enable-broken-osc \
61     --enable-broken-st \
62     --enable-load-vt-fonts \
63     --enable-i18n \
64     --enable-wide-chars \
65     --enable-doublechars \
66     --enable-warnings \
67     --enable-tcap-query \
68     --enable-logging \
69     --enable-dabbrev \
70     --enable-freetype \
71     --enable-luit \
72     || die
73    
74     mmake || die
75     }
76    
77     src_install()
78     {
79     cd ${SRCDIR}
80    
81     mmake DESTDIR=${BINDIR} install || die
82    
83     # fix perms
84     mchmod 0755 /usr/bin/xterm || die
85    
86     # restore the navy blue
87     sed -i "s:blue2$:blue:" ${BINDIR}/usr/$(mlibdir)/X11/app-defaults/XTerm-color || die
88    
89     # security issues
90     echo "*allowWindowOps: false" >> ${BINDIR}/usr/$(mlibdir)/X11/app-defaults/XTerm || die
91     echo "*allowWindowOps: false" >> ${BINDIR}/usr/$(mlibdir)/X11/app-defaults/UXTerm || die
92    
93     minstalldocs README README.i18n || die
94     }