wok-6.x view xterm/receipt @ rev 22361

updated graphviz (2.28.0 -> 2.42.3)
author Hans-G?nter Theisgen
date Thu Nov 21 13:37:52 2019 +0100 (2019-11-21)
parents 43f7f50905de
children 99a20a9dd3e8
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="350"
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-Xaw3d \
35 --with-app-defaults=/usr/share/X11/app-defaults \
36 --enable-wide-chars \
37 --enable-freetype \
38 --enable-doublechars \
39 --enable-256-color \
40 --enable-meta-sends-esc \
41 --disable-delete-is-del \
42 --disable-sun-fkeys \
43 --disable-boxchars \
44 --disable-desktop \
45 --disable-tek4014 \
46 --disable-vt52 \
47 --disable-luit \
48 --disable-rectangles \
49 --with-icon-symlink \
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 }