Contents of /smage/trunk/core/rxvt/rxvt-2.7.10-r3.smage2
Parent Directory | Revision Log
Revision 270 -
(show annotations)
(download)
Tue Apr 27 13:18:01 2010 UTC (14 years ago) by niro
File size: 1828 byte(s)
Tue Apr 27 13:18:01 2010 UTC (14 years ago) by niro
File size: 1828 byte(s)
auto added: ver bump to 2.7.10-r3
1 | # $Id$ |
2 | |
3 | PNAME="rxvt" |
4 | PVER="2.7.10" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="x11-terms" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="rxvt is a small extended virtual terminal emulator for X11." |
11 | HOMEPAGE="http://rxvt.sourceforge.net/" |
12 | |
13 | DEPEND=">= x11-libs/libX11-1 |
14 | >= x11-libs/libXext-1 |
15 | >= x11-libs/libXt-1" |
16 | |
17 | SDEPEND=">= x11-proto/xproto-7" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mtools mcore-split |
23 | |
24 | SRC_URI=( |
25 | sourceforge://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${PNAME}-${PVER}-as-needed.patch |
28 | mirror://${PNAME}/${PNAME}-${PVER}-line-scroll.patch |
29 | mirror://${PNAME}/${PNAME}-${PVER}-CVE-2008-1142.patch |
30 | ) |
31 | |
32 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-dev" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # compilation fix |
40 | mpatch ${PNAME}-${PVER}-as-needed.patch || die |
41 | |
42 | # enable line scrolling with up/down and home/end keys |
43 | mpatch ${PNAME}-${PVER}-line-scroll.patch || die |
44 | |
45 | # security fix - do not default to :0 if DISPLAY is unset |
46 | mpatch ${PNAME}-${PVER}-CVE-2008-1142.patch || die |
47 | } |
48 | |
49 | src_compile() |
50 | { |
51 | cd ${SRCDIR} |
52 | |
53 | # use linuxkeys |
54 | export CFLAGS="${CFLAGS} -DLINUX_KEYS" |
55 | export CXXFLAGS="${CXXFLAGS} -DLINUX_KEYS" |
56 | |
57 | mconfigure \ |
58 | --with-term=rxvt \ |
59 | --enable-everything \ |
60 | --enable-rxvt-scroll \ |
61 | --enable-next-scroll \ |
62 | --enable-xterm-scroll \ |
63 | --enable-transparency \ |
64 | --enable-utmp \ |
65 | --enable-wtmp \ |
66 | --enable-mousewheel \ |
67 | --enable-slipwheeling \ |
68 | --enable-smart-resize \ |
69 | --enable-256-color \ |
70 | --enable-menubar \ |
71 | --enable-xim \ |
72 | --enable-shared \ |
73 | --enable-keepscrolling \ |
74 | --disable-xpm-background \ |
75 | || die |
76 | |
77 | mmake || die |
78 | } |
79 | |
80 | mcore_generic_src_install() |
81 | { |
82 | cd ${SRCDIR} |
83 | |
84 | minstall mandir=${BINDIR}/usr/share/man/man1 || die |
85 | minstalldocs ChangeLog README* doc/{BUGS,FAQ,README*,TODO} || die |
86 | minstallhtml doc/\*.html || die |
87 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |