Magellan Linux

Annotation of /smage/branches/alx-0_9_0/rxvt/rxvt-2.7.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1271 - (hide annotations) (download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 9 months ago) by niro
File size: 1841 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 niro 3 # $Header: /alx-cvs/smage-eglibc/rxvt/rxvt-2.7.10-r1.smage2,v 1.2 2008/06/01 11:12:21 niro Exp $
2    
3     PNAME="rxvt"
4     PVER="2.7.10"
5     PBUILD="r1"
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/libXpm-3
15     >= x11-libs/libXext-1"
16    
17     SDEPEND=">= x11-proto/xproto-7"
18    
19     SRCFILE="${PNAME}-${PVER}.tar.gz"
20     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22     sminclude mtools alx
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     src_prepare()
33     {
34     munpack ${SRCFILE} || die
35     cd ${SRCDIR}
36    
37     # compilation fix
38     mpatch ${PNAME}-${PVER}-as-needed.patch || die
39    
40     # enable line scrolling with up/down and home/end keys
41     mpatch ${PNAME}-${PVER}-line-scroll.patch || die
42    
43     # security fix - do not default to :0 if DISPLAY is unset
44     mpatch ${PNAME}-${PVER}-CVE-2008-1142.patch || die
45     }
46    
47     src_compile()
48     {
49     cd ${SRCDIR}
50    
51     # use linuxkeys
52     export CFLAGS="${CFLAGS} -DLINUX_KEYS"
53     export CXXFLAGS="${CXXFLAGS} -DLINUX_KEYS"
54    
55     mconfigure \
56     --with-term=rxvt \
57     --enable-everything \
58     --enable-rxvt-scroll \
59     --enable-next-scroll \
60     --enable-xterm-scroll \
61     --enable-transparency \
62     --enable-utmp \
63     --enable-wtmp \
64     --enable-mousewheel \
65     --enable-slipwheeling \
66     --enable-smart-resize \
67     --enable-256-color \
68     --enable-menubar \
69     --enable-xim \
70     --enable-shared \
71     --enable-keepscrolling \
72     --enable-xpm-background \
73     || die
74    
75     mmake || die
76     }
77    
78     src_install()
79     {
80     cd ${SRCDIR}
81    
82     minstall mandir=${BINDIR}/usr/share/man/man1 || die
83     minstalldocs ChangeLog README* doc/{BUGS,FAQ,README*,TODO} || die
84     minstallhtml doc/\*.html || die
85     }

Properties

Name Value
svn:keywords Id