Contents of /smage/trunk/core/eterm/eterm-0.9.5-r1.smage2
Parent Directory | Revision Log
Revision 1222 -
(show annotations)
(download)
Sat Jan 29 12:32:18 2011 UTC (13 years, 7 months ago) by niro
File size: 1556 byte(s)
Sat Jan 29 12:32:18 2011 UTC (13 years, 7 months ago) by niro
File size: 1556 byte(s)
-moved to 'core'
1 | # $Id: eterm-0.9.5-r3.smage2 3551 2009-10-26 11:51:10Z niro $ |
2 | |
3 | PNAME="eterm" |
4 | PVER="0.9.5" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-terms" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Eterm is a color vt102 terminal emulator intended as a replacement for xterm." |
11 | HOMEPAGE="http://www.eterm.org/" |
12 | |
13 | DEPEND=">= x11-libs/libX11-1 |
14 | >= x11-libs/libXmu-1 |
15 | >= x11-libs/libXres-1 |
16 | >= x11-libs/libXt-1 |
17 | >= x11-libs/libICE-1 |
18 | >= x11-libs/libSM-1 |
19 | >= x11-libs/libast-0.7 |
20 | >= media-libs/imlib2-1.4" |
21 | |
22 | SDEPEND=">= sys-apps/sed-4 |
23 | >= x11-proto/xextproto-1 |
24 | >= x11-proto/xproto-1" |
25 | |
26 | SRCFILE="${PNAME/et/Et}-${PVER}.tar.gz" |
27 | SRCDIR="${BUILDDIR}/${PNAME/et/Et}-${PVER}" |
28 | |
29 | # only want Esetroot to set wallpapers via fbsetbg |
30 | MCORE_ONLY_KEEP="usr/bin/Esetroot" |
31 | sminclude mtools mcore-split |
32 | |
33 | SRC_URI=( |
34 | http://www.eterm.org/download/${SRCFILE} |
35 | mirror://${PNAME}/${SRCFILE} |
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 | } |
44 | |
45 | src_compile() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | # enable mmx only on x86 but not x86_64 and others |
50 | local my_opts=--disable-mmx |
51 | [[ ${ARCH} = i*86 ]] && my_opts=--enable-mmx |
52 | |
53 | mconfigure \ |
54 | --with-x \ |
55 | --with-imlib \ |
56 | --with-delete=execute \ |
57 | --with-backspace=auto \ |
58 | --enable-trans \ |
59 | --enable-multi-charset \ |
60 | ${my_opts} \ |
61 | || die |
62 | |
63 | mmake || die |
64 | } |
65 | |
66 | src_install() |
67 | { |
68 | cd ${SRCDIR} |
69 | |
70 | # needed directories |
71 | minstalldir /usr/share/terminfo || die |
72 | mmake DESTDIR=${BINDIR} TIC="tic -o ${BINDIR}/usr/share/terminfo" install || die |
73 | minstalldocs Changelog README ReleaseNotes{,.1} bg/README.backgrounds || die |
74 | } |