wok-next annotate xterm/receipt @ rev 21203
updated airgeddon (3.31 -> 8.12)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 07:58:03 2019 +0100 (2019-12-02) |
parents | d01953cd12ed |
children |
rev | line source |
---|---|
al@19839 | 1 # SliTaz package receipt v2. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
al@21072 | 4 VERSION="340" |
pankso@201 | 5 CATEGORY="utilities" |
al@17992 | 6 SHORT_DESC="X terminal emulator" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
al@21123 | 9 WEB_SITE="https://invisible-island.net/xterm/" |
al@21072 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/xterm.html" |
al@19839 | 11 |
slaxemulator@11126 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
al@21123 | 13 WGET_URL="https://invisible-mirror.net/archives/xterm/$TARBALL" |
al@21072 | 14 TARBALL_SHA1="3b36f08e2af569695a2f04da59b50ddb14c9a895" |
slaxemulator@11126 | 15 |
al@21072 | 16 BUILD_DEPENDS="ncurses-dev libxpm-dev libxinerama-dev libxaw3d-dev \ |
al@21072 | 17 libxcursor-dev freetype-dev expat-dev fontconfig-dev libxft-dev libxt-dev" |
al@21072 | 18 DEPENDS="fontconfig ncurses libice libx11 libxaw3d libxft libxinerama libxmu \ |
al@21072 | 19 libxpm libxt" |
al@21072 | 20 |
al@21072 | 21 COPY="xterm resize XTerm XTerm-color *.png *.desktop" |
al@21072 | 22 TAGS="terminal" |
al@21072 | 23 |
al@21072 | 24 COOKOPTS="!pixmaps" |
pankso@16064 | 25 |
al@20443 | 26 compile_rules() { |
pascal@17670 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
al@21072 | 28 sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap |
al@21072 | 29 printf '\tkbs=\\177,\n' >> terminfo |
al@21072 | 30 |
al@21072 | 31 TERMINFO=/usr/share/terminfo \ |
pankso@16064 | 32 ./configure \ |
al@19839 | 33 --with-icon-symlink \ |
al@19839 | 34 --disable-desktop \ |
al@19839 | 35 --with-x \ |
psychomaniak@18795 | 36 --with-Xaw3d \ |
al@21072 | 37 --with-app-defaults=/etc/X11/app-defaults \ |
pankso@2740 | 38 --enable-wide-chars \ |
pankso@2740 | 39 --enable-freetype \ |
pankso@2740 | 40 --enable-doublechars \ |
psychomaniak@16936 | 41 --enable-256-color \ |
psychomaniak@17179 | 42 --enable-meta-sends-esc \ |
psychomaniak@17179 | 43 --disable-delete-is-del \ |
psychomaniak@17179 | 44 --disable-sun-fkeys \ |
psychomaniak@17179 | 45 --disable-boxchars \ |
psychomaniak@17179 | 46 --disable-tek4014 \ |
psychomaniak@17179 | 47 --disable-vt52 \ |
psychomaniak@17179 | 48 --disable-luit \ |
al@19839 | 49 --enable-sixel-graphics \ |
psychomaniak@17340 | 50 --disable-rectangles \ |
pankso@16064 | 51 $CONFIGURE_ARGS && |
pankso@16064 | 52 make && |
al@21020 | 53 make DESTDIR=$install install || return 1 |
pankso@23 | 54 |
al@19839 | 55 cat >> $install/usr/share/X11/app-defaults/XTerm <<EOT |
psychomaniak@18845 | 56 ! |
psychomaniak@18845 | 57 ! libXaw3d options |
psychomaniak@18845 | 58 xterm*beNiceToColormap: false |
psychomaniak@18845 | 59 xterm*SmeBSB.shadowWidth: 3 |
psychomaniak@18845 | 60 xterm*topShadowContrast: 20 |
psychomaniak@18845 | 61 xterm*bottomShadowContrast: 50 |
psychomaniak@18845 | 62 EOT |
al@19839 | 63 |
al@19839 | 64 for size in 16 48; do |
al@19839 | 65 dir=$install/usr/share/icons/hicolor/${size}x$size/apps |
al@19839 | 66 mkdir -p $dir |
al@19839 | 67 cp $src/icons/mini.xterm_${size}x$size.png $dir/xterm.png |
al@19839 | 68 done |
pankso@23 | 69 } |
pankso@16064 | 70 |
pankso@16064 | 71 # One of the first X apps cross compiled. Be sure all went well |
al@19839 | 72 testsuite() { |
pankso@16064 | 73 readelf -h $install/usr/bin/xterm |
pankso@16064 | 74 } |