wok-next view xterm/receipt @ rev 20452
liblzma-dev is absent -> xz-dev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 14:43:56 2018 +0200 (2018-02-28) |
parents | f39f273a6ec1 |
children | 757d032c55c7 |
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 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --localstatedir=/var \
26 --with-icon-symlink \
27 --disable-desktop \
28 --with-x \
29 --with-Xaw3d \
30 --with-app-defaults=/usr/share/X11/app-defaults \
31 --enable-wide-chars \
32 --enable-freetype \
33 --enable-doublechars \
34 --enable-256-color \
35 --enable-meta-sends-esc \
36 --disable-delete-is-del \
37 --disable-sun-fkeys \
38 --disable-boxchars \
39 --disable-tek4014 \
40 --disable-vt52 \
41 --disable-luit \
42 --enable-sixel-graphics \
43 --disable-rectangles \
44 $CONFIGURE_ARGS &&
45 make &&
46 make DESTDIR=$DESTDIR install
48 cat >> $install/usr/share/X11/app-defaults/XTerm <<EOT
49 !
50 ! libXaw3d options
51 xterm*beNiceToColormap: false
52 xterm*SmeBSB.shadowWidth: 3
53 xterm*topShadowContrast: 20
54 xterm*bottomShadowContrast: 50
55 EOT
57 for size in 16 48; do
58 dir=$install/usr/share/icons/hicolor/${size}x$size/apps
59 mkdir -p $dir
60 cp $src/icons/mini.xterm_${size}x$size.png $dir/xterm.png
61 done
62 }
64 # One of the first X apps cross compiled. Be sure all went well
65 testsuite() {
66 readelf -h $install/usr/bin/xterm
67 }
69 genpkg_rules() {
70 copy xterm resize XTerm XTerm-color *.png
71 TAGS="terminal"
72 DEPENDS="fontconfig ncurses xorg-libICE xorg-libX11 xorg-libXaw3d \
73 xorg-libXft xorg-libXinerama xorg-libXmu xorg-libXpm xorg-libXt"
74 }