wok-next view xterm/receipt @ rev 20742

tpp: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 23:39:24 2018 +0300 (2018-05-29)
parents 0e7893ac206d
children d5aab818505e
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 COOKOPTS="!pixmaps"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="ftp://ftp.invisible-island.net/xterm/$TARBALL"
15 BUILD_DEPENDS="ncurses-dev xorg-libXpm-dev xorg-libXinerama-dev \
16 xorg-libXaw3d-dev xorg-libXcursor-dev freetype-dev expat-dev fontconfig-dev \
17 xorg-libXft-dev xorg-libXt-dev"
19 compile_rules() {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 ./configure \
22 --with-icon-symlink \
23 --disable-desktop \
24 --with-x \
25 --with-Xaw3d \
26 --with-app-defaults=/usr/share/X11/app-defaults \
27 --enable-wide-chars \
28 --enable-freetype \
29 --enable-doublechars \
30 --enable-256-color \
31 --enable-meta-sends-esc \
32 --disable-delete-is-del \
33 --disable-sun-fkeys \
34 --disable-boxchars \
35 --disable-tek4014 \
36 --disable-vt52 \
37 --disable-luit \
38 --enable-sixel-graphics \
39 --disable-rectangles \
40 $CONFIGURE_ARGS &&
41 make &&
42 make DESTDIR=$DESTDIR install || return 1
44 cat >> $install/usr/share/X11/app-defaults/XTerm <<EOT
45 !
46 ! libXaw3d options
47 xterm*beNiceToColormap: false
48 xterm*SmeBSB.shadowWidth: 3
49 xterm*topShadowContrast: 20
50 xterm*bottomShadowContrast: 50
51 EOT
53 for size in 16 48; do
54 dir=$install/usr/share/icons/hicolor/${size}x$size/apps
55 mkdir -p $dir
56 cp $src/icons/mini.xterm_${size}x$size.png $dir/xterm.png
57 done
58 }
60 # One of the first X apps cross compiled. Be sure all went well
61 testsuite() {
62 readelf -h $install/usr/bin/xterm
63 }
65 genpkg_rules() {
66 copy xterm resize XTerm XTerm-color *.png
67 TAGS="terminal"
68 DEPENDS="fontconfig ncurses xorg-libICE xorg-libX11 xorg-libXaw3d \
69 xorg-libXft xorg-libXinerama xorg-libXmu xorg-libXpm xorg-libXt"
70 }