wok view xterm/receipt @ rev 25567
use wxWidgets 2.8 for amule
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 12 17:54:34 2023 +0100 (18 months ago) |
parents | 7e911016a644 |
children |
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 current_version()
25 {
26 wget -O - ${WEB_SITE}xterm.log.html 2>/dev/null | \
27 sed '/Patch/!d;s|.*xterm_||;s|".*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
35 ./configure \
36 --prefix=/usr \
37 --sysconfdir=/etc \
38 --mandir=/usr/share/man \
39 --localstatedir=/var \
40 --with-app-defaults=/usr/share/X11/app-defaults \
41 --with-icon-symlink \
42 --with-Xaw3d \
43 --enable-256-color \
44 --disable-boxchars \
45 --disable-delete-is-del \
46 --disable-desktop \
47 --enable-doublechars \
48 --enable-freetype \
49 --disable-luit \
50 --enable-meta-sends-esc \
51 --disable-rectangles \
52 --disable-sun-fkeys \
53 --disable-tek4014 \
54 --disable-vt52 \
55 --enable-wide-chars \
56 $CONFIGURE_ARGS &&
57 make &&
58 make DESTDIR=$DESTDIR install
59 }
61 # Rules to gen a SliTaz package suitable for Tazpkg.
62 genpkg_rules()
63 {
64 cp -a $install/* $fs
65 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
66 rm -rf $fs/usr/share/pixmaps
67 ln -s xterm $fs/usr/bin/uxterm
69 cat >> $fs/usr/share/X11/app-defaults/XTerm <<EOT
70 !
71 ! libXaw3d options
72 xterm*beNiceToColormap: false
73 xterm*SmeBSB.shadowWidth: 3
74 xterm*topShadowContrast: 20
75 xterm*bottomShadowContrast: 50
76 EOT
78 chown -R root:root $fs
79 }
81 # One of the first X apps cross compiled. Be sure all went well
82 testsuite()
83 {
84 readelf -h $install/usr/bin/xterm
85 }