wok-next view xterm/receipt @ rev 20060
cairo-compmgr-core: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 23 23:33:42 2017 +0200 (2017-10-23) |
parents | 9db5705d64a7 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xterm"
4 VERSION="330"
5 CATEGORY="utilities"
6 SHORT_DESC="X terminal emulator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://invisible-island.net/xterm/"
10 HOST_ARCH="i486 arm"
11 COOKOPTS="!pixmaps"
13 TARBALL="$PACKAGE-$VERSION.tgz"
14 WGET_URL="ftp://ftp.invisible-island.net/xterm/$TARBALL"
16 BUILD_DEPENDS="ncurses-dev xorg-libXpm-dev xorg-libXinerama-dev \
17 xorg-libXaw3d-dev xorg-libXcursor-dev freetype-dev expat-dev fontconfig-dev \
18 xorg-libXft-dev xorg-libXt-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 --with-icon-symlink \
30 --disable-desktop \
31 --with-x \
32 --with-Xaw3d \
33 --with-app-defaults=/usr/share/X11/app-defaults \
34 --enable-wide-chars \
35 --enable-freetype \
36 --enable-doublechars \
37 --enable-256-color \
38 --enable-meta-sends-esc \
39 --disable-delete-is-del \
40 --disable-sun-fkeys \
41 --disable-boxchars \
42 --disable-tek4014 \
43 --disable-vt52 \
44 --disable-luit \
45 --enable-sixel-graphics \
46 --disable-rectangles \
47 $CONFIGURE_ARGS &&
48 make &&
49 make DESTDIR=$DESTDIR install
51 cat >> $install/usr/share/X11/app-defaults/XTerm <<EOT
52 !
53 ! libXaw3d options
54 xterm*beNiceToColormap: false
55 xterm*SmeBSB.shadowWidth: 3
56 xterm*topShadowContrast: 20
57 xterm*bottomShadowContrast: 50
58 EOT
60 for size in 16 48; do
61 dir=$install/usr/share/icons/hicolor/${size}x$size/apps
62 mkdir -p $dir
63 cp $src/icons/mini.xterm_${size}x$size.png $dir/xterm.png
64 done
65 }
67 # One of the first X apps cross compiled. Be sure all went well
68 testsuite() {
69 readelf -h $install/usr/bin/xterm
70 }
72 # Rules to gen a SliTaz package suitable for Tazpkg.
73 genpkg_rules()
74 {
75 copy xterm resize XTerm XTerm-color *.png
76 TAGS="terminal"
77 DEPENDS="fontconfig ncurses xorg-libICE xorg-libX11 xorg-libXaw3d \
78 xorg-libXft xorg-libXinerama xorg-libXmu xorg-libXpm xorg-libXt"
79 }