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