Contents of /smage/branches/alx07x-unstable/core/eterm/eterm-0.9.6-r8.smage2
Parent Directory | Revision Log
Revision 12155 -
(show annotations)
(download)
Fri Aug 31 10:54:57 2018 UTC (6 years ago) by niro
File size: 1691 byte(s)
Fri Aug 31 10:54:57 2018 UTC (6 years ago) by niro
File size: 1691 byte(s)
-release branches/alx07x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="eterm" |
4 | PVER="0.9.6" |
5 | PBUILD="r8" |
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.6 |
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.5" |
20 | |
21 | SDEPEND=">= virtual/sed |
22 | >= virtual/xextproto |
23 | >= virtual/xproto |
24 | >= x11-libs/libX11-dev-1.6 |
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.5" |
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 | ) |
44 | |
45 | UP2DATE="updatecmd ${HOMEPAGE}/download/ | grep ${PNAME/et/Et}-[0-9] | lasttarball gz" |
46 | |
47 | src_prepare() |
48 | { |
49 | munpack ${SRCFILE} || die |
50 | } |
51 | |
52 | src_compile() |
53 | { |
54 | cd ${SRCDIR} |
55 | |
56 | # enable mmx only on x86 but not x86_64 and others |
57 | local my_opts=--disable-mmx |
58 | [[ ${ARCH} = i*86 ]] && my_opts=--enable-mmx |
59 | |
60 | mconfigure \ |
61 | --with-x \ |
62 | --with-imlib \ |
63 | --with-delete=execute \ |
64 | --with-backspace=auto \ |
65 | --enable-trans \ |
66 | --enable-multi-charset \ |
67 | ${my_opts} \ |
68 | || die |
69 | |
70 | mmake || die |
71 | } |
72 | |
73 | src_install() |
74 | { |
75 | cd ${SRCDIR} |
76 | |
77 | # needed directories |
78 | minstalldir /usr/share/terminfo || die |
79 | mmake DESTDIR=${BINDIR} TIC="tic -o ${BINDIR}/usr/share/terminfo" install || die |
80 | minstalldocs Changelog README ReleaseNotes{,.1} bg/README.backgrounds || die |
81 | } |