wok-next view xterm/receipt @ rev 21634

updated exiftool (11.17 -> 12.01)
author Hans-G?nter Theisgen
date Fri Jun 26 10:45:57 2020 +0100 (2020-06-26)
parents d01953cd12ed
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xterm"
4 VERSION="340"
5 CATEGORY="utilities"
6 SHORT_DESC="X terminal emulator"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://invisible-island.net/xterm/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/xterm.html"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="https://invisible-mirror.net/archives/xterm/$TARBALL"
14 TARBALL_SHA1="3b36f08e2af569695a2f04da59b50ddb14c9a895"
16 BUILD_DEPENDS="ncurses-dev libxpm-dev libxinerama-dev libxaw3d-dev \
17 libxcursor-dev freetype-dev expat-dev fontconfig-dev libxft-dev libxt-dev"
18 DEPENDS="fontconfig ncurses libice libx11 libxaw3d libxft libxinerama libxmu \
19 libxpm libxt"
21 COPY="xterm resize XTerm XTerm-color *.png *.desktop"
22 TAGS="terminal"
24 COOKOPTS="!pixmaps"
26 compile_rules() {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
28 sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap
29 printf '\tkbs=\\177,\n' >> terminfo
31 TERMINFO=/usr/share/terminfo \
32 ./configure \
33 --with-icon-symlink \
34 --disable-desktop \
35 --with-x \
36 --with-Xaw3d \
37 --with-app-defaults=/etc/X11/app-defaults \
38 --enable-wide-chars \
39 --enable-freetype \
40 --enable-doublechars \
41 --enable-256-color \
42 --enable-meta-sends-esc \
43 --disable-delete-is-del \
44 --disable-sun-fkeys \
45 --disable-boxchars \
46 --disable-tek4014 \
47 --disable-vt52 \
48 --disable-luit \
49 --enable-sixel-graphics \
50 --disable-rectangles \
51 $CONFIGURE_ARGS &&
52 make &&
53 make DESTDIR=$install install || return 1
55 cat >> $install/usr/share/X11/app-defaults/XTerm <<EOT
56 !
57 ! libXaw3d options
58 xterm*beNiceToColormap: false
59 xterm*SmeBSB.shadowWidth: 3
60 xterm*topShadowContrast: 20
61 xterm*bottomShadowContrast: 50
62 EOT
64 for size in 16 48; do
65 dir=$install/usr/share/icons/hicolor/${size}x$size/apps
66 mkdir -p $dir
67 cp $src/icons/mini.xterm_${size}x$size.png $dir/xterm.png
68 done
69 }
71 # One of the first X apps cross compiled. Be sure all went well
72 testsuite() {
73 readelf -h $install/usr/bin/xterm
74 }