Annotation of /smage/trunk/deprecated/eterm/eterm-0.9.6-r10.smage2
Parent Directory | Revision Log
Revision 17177 -
(hide annotations)
(download)
Tue Oct 31 10:20:49 2023 UTC (10 months, 3 weeks ago) by niro
File size: 1822 byte(s)
Tue Oct 31 10:20:49 2023 UTC (10 months, 3 weeks ago) by niro
File size: 1822 byte(s)
-moved to 'deprecated'
1 | niro | 16049 | # $Id$ |
2 | |||
3 | PNAME="eterm" | ||
4 | PVER="0.9.6" | ||
5 | PBUILD="r10" | ||
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.8 | ||
13 | >= x11-libs/libXmu-1.1 | ||
14 | >= x11-libs/libXres-1 | ||
15 | >= x11-libs/libXt-1.1 | ||
16 | >= x11-libs/libICE-1 | ||
17 | >= x11-libs/libSM-1.2 | ||
18 | >= x11-libs/libast-0.7 | ||
19 | >= media-libs/imlib2-1.12" | ||
20 | |||
21 | SDEPEND=">= virtual/sed | ||
22 | >= virtual/xextproto | ||
23 | >= virtual/xproto | ||
24 | >= x11-libs/libX11-dev-1.8 | ||
25 | >= x11-libs/libXmu-dev-1.1 | ||
26 | >= x11-libs/libXres-dev-1 | ||
27 | >= x11-libs/libXt-dev-1.1 | ||
28 | >= x11-libs/libICE-dev-1 | ||
29 | >= x11-libs/libSM-dev-1.2 | ||
30 | >= x11-libs/libast-dev-0.7 | ||
31 | >= media-libs/imlib2-dev-1.12" | ||
32 | |||
33 | SRCFILE="${PNAME/et/Et}-${PVER}.tar.gz" | ||
34 | SRCDIR="${BUILDDIR}/${PNAME/et/Et}-${PVER}" | ||
35 | |||
36 | # only want Esetroot to set wallpapers via fbsetbg | ||
37 | ALX_PKG_KEEP="usr/bin/Esetroot" | ||
38 | sminclude mtools alx-split | ||
39 | |||
40 | SRC_URI=( | ||
41 | http://www.eterm.org/download/${SRCFILE} | ||
42 | mirror://${PNAME}/${SRCFILE} | ||
43 | mirror://${PNAME}/${PNAME}-${PVER}-imlib2-1.12.patch | ||
44 | ) | ||
45 | |||
46 | UP2DATE="updatecmd ${HOMEPAGE}/download/ | grep ${PNAME/et/Et}-[0-9] | lasttarball gz" | ||
47 | |||
48 | src_prepare() | ||
49 | { | ||
50 | munpack ${SRCFILE} || die | ||
51 | cd ${SRCDIR} | ||
52 | |||
53 | # ftbfs | ||
54 | mpatch ${PNAME}-${PVER}-imlib2-1.12.patch || die | ||
55 | } | ||
56 | |||
57 | src_compile() | ||
58 | { | ||
59 | cd ${SRCDIR} | ||
60 | |||
61 | # enable mmx only on x86 but not x86_64 and others | ||
62 | local my_opts=--disable-mmx | ||
63 | [[ ${ARCH} = i*86 ]] && my_opts=--enable-mmx | ||
64 | |||
65 | mconfigure \ | ||
66 | --with-x \ | ||
67 | --with-imlib \ | ||
68 | --with-delete=execute \ | ||
69 | --with-backspace=auto \ | ||
70 | --enable-trans \ | ||
71 | --enable-multi-charset \ | ||
72 | ${my_opts} \ | ||
73 | || die | ||
74 | |||
75 | mmake || die | ||
76 | } | ||
77 | |||
78 | src_install() | ||
79 | { | ||
80 | cd ${SRCDIR} | ||
81 | |||
82 | # needed directories | ||
83 | minstalldir /usr/share/terminfo || die | ||
84 | mmake DESTDIR=${BINDIR} TIC="tic -o ${BINDIR}/usr/share/terminfo" install || die | ||
85 | minstalldocs Changelog README ReleaseNotes{,.1} bg/README.backgrounds || die | ||
86 | } |