Magellan Linux

Contents of /smage/trunk/core/rxvt/rxvt-2.7.10-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 272 - (show annotations) (download)
Tue Apr 27 13:29:49 2010 UTC (14 years ago) by niro
File size: 1901 byte(s)
auto added: ver bump to 2.7.10-r4
1 # $Id$
2
3 PNAME="rxvt"
4 PVER="2.7.10"
5 PBUILD="r4"
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 MCORE_ONLY_KEEP="usr/bin/rxvt usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*"
23 sminclude mtools mcore-split
24
25 SRC_URI=(
26 sourceforge://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${PNAME}-${PVER}-as-needed.patch
29 mirror://${PNAME}/${PNAME}-${PVER}-line-scroll.patch
30 mirror://${PNAME}/${PNAME}-${PVER}-CVE-2008-1142.patch
31 )
32
33 UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-dev"
34
35 src_prepare()
36 {
37 munpack ${SRCFILE} || die
38 cd ${SRCDIR}
39
40 # compilation fix
41 mpatch ${PNAME}-${PVER}-as-needed.patch || die
42
43 # enable line scrolling with up/down and home/end keys
44 mpatch ${PNAME}-${PVER}-line-scroll.patch || die
45
46 # security fix - do not default to :0 if DISPLAY is unset
47 mpatch ${PNAME}-${PVER}-CVE-2008-1142.patch || die
48 }
49
50 src_compile()
51 {
52 cd ${SRCDIR}
53
54 # use linuxkeys
55 export CFLAGS="${CFLAGS} -DLINUX_KEYS"
56 export CXXFLAGS="${CXXFLAGS} -DLINUX_KEYS"
57
58 mconfigure \
59 --with-term=rxvt \
60 --enable-everything \
61 --enable-rxvt-scroll \
62 --enable-next-scroll \
63 --enable-xterm-scroll \
64 --enable-transparency \
65 --enable-utmp \
66 --enable-wtmp \
67 --enable-mousewheel \
68 --enable-slipwheeling \
69 --enable-smart-resize \
70 --enable-256-color \
71 --enable-menubar \
72 --enable-xim \
73 --enable-shared \
74 --enable-keepscrolling \
75 --disable-xpm-background \
76 || die
77
78 mmake || die
79 }
80
81 mcore_generic_src_install()
82 {
83 cd ${SRCDIR}
84
85 minstall mandir=${BINDIR}/usr/share/man/man1 || die
86 minstalldocs ChangeLog README* doc/{BUGS,FAQ,README*,TODO} || die
87 minstallhtml doc/\*.html || die
88 }

Properties

Name Value
svn:keywords Id