Contents of /smage/branches/alx-0_6_0/core/eterm/eterm-0.9.6-r1.smage2
Parent Directory | Revision Log
Revision 2506 -
(show annotations)
(download)
Thu Jun 30 13:55:15 2011 UTC (13 years, 3 months ago) by niro
File size: 1477 byte(s)
Thu Jun 30 13:55:15 2011 UTC (13 years, 3 months ago) by niro
File size: 1477 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 | # $Id$ |
2 | |
3 | PNAME="eterm" |
4 | PVER="0.9.6" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="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/libXres-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.4" |
20 | |
21 | SDEPEND=">= virtual/sed |
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 | # only want Esetroot to set wallpapers via fbsetbg |
29 | ALX_ONLY_KEEP="usr/bin/Esetroot" |
30 | sminclude mtools alx-split |
31 | |
32 | SRC_URI=( |
33 | http://www.eterm.org/download/${SRCFILE} |
34 | mirror://${PNAME}/${SRCFILE} |
35 | ) |
36 | |
37 | UP2DATE="updatecmd ${HOMEPAGE}/download/ | grep ${PNAME/et/Et}-[0-9] | lasttarball gz" |
38 | |
39 | src_prepare() |
40 | { |
41 | munpack ${SRCFILE} || die |
42 | } |
43 | |
44 | src_compile() |
45 | { |
46 | cd ${SRCDIR} |
47 | |
48 | # enable mmx only on x86 but not x86_64 and others |
49 | local my_opts=--disable-mmx |
50 | [[ ${ARCH} = i*86 ]] && my_opts=--enable-mmx |
51 | |
52 | mconfigure \ |
53 | --with-x \ |
54 | --with-imlib \ |
55 | --with-delete=execute \ |
56 | --with-backspace=auto \ |
57 | --enable-trans \ |
58 | --enable-multi-charset \ |
59 | ${my_opts} \ |
60 | || die |
61 | |
62 | mmake || die |
63 | } |
64 | |
65 | src_install() |
66 | { |
67 | cd ${SRCDIR} |
68 | |
69 | # needed directories |
70 | minstalldir /usr/share/terminfo || die |
71 | mmake DESTDIR=${BINDIR} TIC="tic -o ${BINDIR}/usr/share/terminfo" install || die |
72 | minstalldocs Changelog README ReleaseNotes{,.1} bg/README.backgrounds || die |
73 | } |