wok-current view xterm/receipt @ rev 24032
modified get-teamviewer to be able to fetch versions < 13
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 06 14:38:05 2021 +0100 (2021-04-06) |
parents | ab3fc8c14aae |
children | 7e911016a644 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="356"
5 CATEGORY="utilities"
6 TAGS="terminal"
7 SHORT_DESC="X terminal emulator."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://invisible-island.net/xterm/"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="http://invisible-mirror.net/archives/$PACKAGE/$TARBALL"
15 DEPENDS="expat fontconfig freetype ncurses xorg-libXaw3d
16 xorg-libXft xorg-libXpm xorg-libXt"
17 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev
18 xorg-libXaw3d-dev xorg-libXft-dev xorg-libXt-dev"
20 GENERIC_PIXMAPS="no"
22 HOST_ARCH="i486 arm"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --localstatedir=/var \
34 --with-app-defaults=/usr/share/X11/app-defaults \
35 --with-icon-symlink \
36 --with-Xaw3d \
37 --enable-256-color \
38 --disable-boxchars \
39 --disable-delete-is-del \
40 --disable-desktop \
41 --enable-doublechars \
42 --enable-freetype \
43 --disable-luit \
44 --enable-meta-sends-esc \
45 --disable-rectangles \
46 --disable-sun-fkeys \
47 --disable-tek4014 \
48 --disable-vt52 \
49 --enable-wide-chars \
50 $CONFIGURE_ARGS &&
51 make &&
52 make DESTDIR=$DESTDIR install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cp -a $install/* $fs
59 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
60 rm -rf $fs/usr/share/pixmaps
61 ln -s xterm $fs/usr/bin/uxterm
63 cat >> $fs/usr/share/X11/app-defaults/XTerm <<EOT
64 !
65 ! libXaw3d options
66 xterm*beNiceToColormap: false
67 xterm*SmeBSB.shadowWidth: 3
68 xterm*topShadowContrast: 20
69 xterm*bottomShadowContrast: 50
70 EOT
72 chown -R root:root $fs
73 }
75 # One of the first X apps cross compiled. Be sure all went well
76 testsuite()
77 {
78 readelf -h $install/usr/bin/xterm
79 }