Annotation of /trunk/core/eterm/eterm-0.9.5-r1.smage2
Parent Directory | Revision Log
Revision 1434 -
(hide annotations)
(download)
Wed May 6 17:45:01 2009 UTC (15 years ago) by niro
File size: 1537 byte(s)
Wed May 6 17:45:01 2009 UTC (15 years ago) by niro
File size: 1537 byte(s)
-moved to 'core'
1 | niro | 2 | # $Header: /magellan-cvs/smage/eterm/eterm-0.9.5-r1.smage2,v 1.1 2008/08/10 10:04:33 niro Exp $ |
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/libXt-1 | ||
16 | >= x11-libs/libICE-1 | ||
17 | >= x11-libs/libSM-1 | ||
18 | >= x11-libs/libast-0.7 | ||
19 | >= media-libs/imlib2-1.2" | ||
20 | |||
21 | SDEPEND=">= sys-apps/sed-4 | ||
22 | >= x11-proto/xextproto-1 | ||
23 | >= x11-proto/xproto-1" | ||
24 | |||
25 | SRCFILE="${PNAME/et/Et}-${PVER}.tar.gz" | ||
26 | SRCDIR="${BUILDDIR}/${PNAME/et/Et}-${PVER}" | ||
27 | |||
28 | SRCFILE2="${PNAME/et/Et}-bg-${PVER}.tar.gz" | ||
29 | |||
30 | SRC_URI=( | ||
31 | http://www.eterm.org/download/${SRCFILE} | ||
32 | http://www.eterm.org/download/${SRCFILE2} | ||
33 | mirror://${PNAME}/${SRCFILE} | ||
34 | mirror://${PNAME}/${SRCFILE2} | ||
35 | ) | ||
36 | |||
37 | src_prepare() | ||
38 | { | ||
39 | munpack ${SRCFILE} || die | ||
40 | munpack ${SRCFILE2} ${SRCDIR} || die | ||
41 | } | ||
42 | |||
43 | src_compile() | ||
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | # enable mmx only on x86 but not x86_64 and others | ||
48 | local my_opts=--disable-mmx | ||
49 | [[ ${ARCH} = i*86 ]] && my_opts=--enable-mmx | ||
50 | |||
51 | mconfigure \ | ||
52 | --with-x \ | ||
53 | --with-imlib \ | ||
54 | --with-delete=execute \ | ||
55 | --with-backspace=auto \ | ||
56 | --enable-trans \ | ||
57 | --enable-multi-charset \ | ||
58 | ${my_opts} \ | ||
59 | || die | ||
60 | |||
61 | mmake || die | ||
62 | } | ||
63 | |||
64 | src_install() | ||
65 | { | ||
66 | cd ${SRCDIR} | ||
67 | |||
68 | # needed directories | ||
69 | install -d ${BINDIR}/usr/share/terminfo || die | ||
70 | |||
71 | make DESTDIR=${BINDIR} \ | ||
72 | TIC="tic -o ${BINDIR}/usr/share/terminfo" \ | ||
73 | install || die | ||
74 | |||
75 | minstalldocs Changelog README ReleaseNotes{,.1} bg/README.backgrounds || die | ||
76 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |