Contents of /trunk/extras/eterm/eterm-0.9.6-r1.smage2
Parent Directory | Revision Log
Revision 11225 -
(show annotations)
(download)
Tue Feb 21 15:42:55 2012 UTC (12 years, 3 months ago) by niro
File size: 1514 byte(s)
Tue Feb 21 15:42:55 2012 UTC (12 years, 3 months ago) by niro
File size: 1514 byte(s)
auto added: ver bump to 0.9.6-r1
1 | # $Id$ |
2 | |
3 | PNAME="eterm" |
4 | PVER="0.9.6" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="x11-terms" |
8 | |
9 | DESCRIPTION="Eterm is a color vt102 terminal emulator intended as a replacement for xterm." |
10 | HOMEPAGE="http://www.eterm.org/" |
11 | |
12 | DEPEND=">= x11-libs/libX11-1 |
13 | >= x11-libs/libXmu-1 |
14 | >= x11-libs/libXt-1 |
15 | >= x11-libs/libICE-1 |
16 | >= x11-libs/libSM-1 |
17 | >= x11-libs/libast-0.7 |
18 | >= media-libs/imlib2-1.4" |
19 | |
20 | SDEPEND=">= sys-apps/sed-4 |
21 | >= x11-proto/xextproto-1 |
22 | >= x11-proto/xproto-1" |
23 | |
24 | SRCFILE="${PNAME/et/Et}-${PVER}.tar.gz" |
25 | SRCDIR="${BUILDDIR}/${PNAME/et/Et}-${PVER}" |
26 | |
27 | SRCFILE2="${PNAME/et/Et}-bg-${PVER}.tar.gz" |
28 | |
29 | sminclude mtools |
30 | |
31 | SRC_URI=( |
32 | http://www.eterm.org/download/${SRCFILE} |
33 | http://www.eterm.org/download/${SRCFILE2} |
34 | mirror://${PNAME}/${SRCFILE} |
35 | mirror://${PNAME}/${SRCFILE2} |
36 | ) |
37 | |
38 | UP2DATE="updatecmd ${HOMEPAGE}/download/ | grep ${PNAME/et/Et}-[0-9] | lasttarball gz" |
39 | |
40 | src_prepare() |
41 | { |
42 | munpack ${SRCFILE} || die |
43 | munpack ${SRCFILE2} ${SRCDIR} || die |
44 | } |
45 | |
46 | src_compile() |
47 | { |
48 | cd ${SRCDIR} |
49 | |
50 | # enable mmx only on x86 but not x86_64 and others |
51 | local my_opts=--disable-mmx |
52 | [[ ${ARCH} = i*86 ]] && my_opts=--enable-mmx |
53 | |
54 | mconfigure \ |
55 | --with-x \ |
56 | --with-imlib \ |
57 | --with-delete=execute \ |
58 | --with-backspace=auto \ |
59 | --enable-trans \ |
60 | --enable-multi-charset \ |
61 | ${my_opts} \ |
62 | || die |
63 | |
64 | mmake || die |
65 | } |
66 | |
67 | src_install() |
68 | { |
69 | cd ${SRCDIR} |
70 | |
71 | # needed directories |
72 | minstalldir /usr/share/terminfo || die |
73 | mmake DESTDIR=${BINDIR} TIC="tic -o ${BINDIR}/usr/share/terminfo" install || die |
74 | minstalldocs Changelog README ReleaseNotes{,.1} bg/README.backgrounds || die |
75 | } |