wok view xterm/receipt @ rev 19447

fltk: add Fl_XFont_On_Demand.patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 15 19:21:45 2016 +0200 (2016-10-15)
parents 4464f66eb0d2
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="314"
5 CATEGORY="utilities"
6 SHORT_DESC="X terminal emulator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://invisible-island.net/xterm/"
11 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL"
12 GENERIC_PIXMAPS="no"
13 TAGS="terminal"
14 HOST_ARCH="i486 arm"
16 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt \
17 xorg-libXaw3d xorg-libXpm"
18 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
19 xorg-libXft-dev xorg-libXt-dev xorg-libXaw3d-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --mandir=/usr/share/man \
29 --localstatedir=/var \
30 --with-Xaw3d \
31 --with-app-defaults=/usr/share/X11/app-defaults \
32 --enable-wide-chars \
33 --enable-freetype \
34 --enable-doublechars \
35 --enable-256-color \
36 --enable-meta-sends-esc \
37 --disable-delete-is-del \
38 --disable-sun-fkeys \
39 --disable-boxchars \
40 --disable-desktop \
41 --disable-tek4014 \
42 --disable-vt52 \
43 --disable-luit \
44 --disable-rectangles \
45 --with-icon-symlink \
46 $CONFIGURE_ARGS &&
47 make &&
48 make DESTDIR=$DESTDIR install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 cp -a $install/* $fs
55 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
56 rm -rf $fs/usr/share/pixmaps
57 ln -s xterm $fs/usr/bin/uxterm
58 cat >> $fs/usr/share/X11/app-defaults/XTerm <<EOT
59 !
60 ! libXaw3d options
61 xterm*beNiceToColormap: false
62 xterm*SmeBSB.shadowWidth: 3
63 xterm*topShadowContrast: 20
64 xterm*bottomShadowContrast: 50
65 EOT
66 chown -R root:root $fs
67 }
69 # One of the first X apps cross compiled. Be sure all went well
70 testsuite()
71 {
72 readelf -h $install/usr/bin/xterm
73 }