wok-next diff xterm/receipt @ rev 20151
uclibc-cross-compiler-x86_64: receipt v2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 14:57:04 2017 +0100 (2017-11-01) |
parents | 9db5705d64a7 |
children | 0e7893ac206d |
line diff
1.1 --- a/xterm/receipt Sat Jan 23 09:22:02 2016 +0100 1.2 +++ b/xterm/receipt Wed Nov 01 14:57:04 2017 +0100 1.3 @@ -1,22 +1,21 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xterm" 1.8 -VERSION="314" 1.9 +VERSION="330" 1.10 CATEGORY="utilities" 1.11 SHORT_DESC="X terminal emulator" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="http://invisible-island.net/xterm/" 1.15 +HOST_ARCH="i486 arm" 1.16 +COOKOPTS="!pixmaps" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tgz" 1.19 -WEB_SITE="http://invisible-island.net/xterm/" 1.20 -WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL" 1.21 -GENERIC_PIXMAPS="no" 1.22 -TAGS="terminal" 1.23 -HOST_ARCH="i486 arm" 1.24 +WGET_URL="ftp://ftp.invisible-island.net/xterm/$TARBALL" 1.25 1.26 -DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt \ 1.27 -xorg-libXaw3d xorg-libXpm" 1.28 -BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \ 1.29 -xorg-libXft-dev xorg-libXt-dev xorg-libXaw3d-dev" 1.30 +BUILD_DEPENDS="ncurses-dev xorg-libXpm-dev xorg-libXinerama-dev \ 1.31 +xorg-libXaw3d-dev xorg-libXcursor-dev freetype-dev expat-dev fontconfig-dev \ 1.32 +xorg-libXft-dev xorg-libXt-dev" 1.33 1.34 # Rules to configure and make the package. 1.35 compile_rules() 1.36 @@ -27,6 +26,9 @@ 1.37 --sysconfdir=/etc \ 1.38 --mandir=/usr/share/man \ 1.39 --localstatedir=/var \ 1.40 + --with-icon-symlink \ 1.41 + --disable-desktop \ 1.42 + --with-x \ 1.43 --with-Xaw3d \ 1.44 --with-app-defaults=/usr/share/X11/app-defaults \ 1.45 --enable-wide-chars \ 1.46 @@ -37,25 +39,16 @@ 1.47 --disable-delete-is-del \ 1.48 --disable-sun-fkeys \ 1.49 --disable-boxchars \ 1.50 - --disable-desktop \ 1.51 --disable-tek4014 \ 1.52 --disable-vt52 \ 1.53 --disable-luit \ 1.54 + --enable-sixel-graphics \ 1.55 --disable-rectangles \ 1.56 - --with-icon-symlink \ 1.57 $CONFIGURE_ARGS && 1.58 make && 1.59 make DESTDIR=$DESTDIR install 1.60 -} 1.61 1.62 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.63 -genpkg_rules() 1.64 -{ 1.65 - cp -a $install/* $fs 1.66 - find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete 1.67 - rm -rf $fs/usr/share/pixmaps 1.68 - ln -s xterm $fs/usr/bin/uxterm 1.69 - cat >> $fs/usr/share/X11/app-defaults/XTerm <<EOT 1.70 + cat >> $install/usr/share/X11/app-defaults/XTerm <<EOT 1.71 ! 1.72 ! libXaw3d options 1.73 xterm*beNiceToColormap: false 1.74 @@ -63,11 +56,24 @@ 1.75 xterm*topShadowContrast: 20 1.76 xterm*bottomShadowContrast: 50 1.77 EOT 1.78 - chown -R root:root $fs 1.79 + 1.80 + for size in 16 48; do 1.81 + dir=$install/usr/share/icons/hicolor/${size}x$size/apps 1.82 + mkdir -p $dir 1.83 + cp $src/icons/mini.xterm_${size}x$size.png $dir/xterm.png 1.84 + done 1.85 } 1.86 1.87 # One of the first X apps cross compiled. Be sure all went well 1.88 -testsuite() 1.89 -{ 1.90 +testsuite() { 1.91 readelf -h $install/usr/bin/xterm 1.92 } 1.93 + 1.94 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.95 +genpkg_rules() 1.96 +{ 1.97 + copy xterm resize XTerm XTerm-color *.png 1.98 + TAGS="terminal" 1.99 + DEPENDS="fontconfig ncurses xorg-libICE xorg-libX11 xorg-libXaw3d \ 1.100 + xorg-libXft xorg-libXinerama xorg-libXmu xorg-libXpm xorg-libXt" 1.101 +}