wok annotate xterm/receipt @ rev 20878
Up openssh-pam (7.9p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 24 00:12:17 2019 +0100 (2019-02-24) |
parents | 9db5705d64a7 |
children | 43f7f50905de |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
devl547@17560 | 4 VERSION="314" |
pankso@201 | 5 CATEGORY="utilities" |
al@17992 | 6 SHORT_DESC="X terminal emulator" |
pankso@23 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
slaxemulator@11126 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20669 | 10 WEB_SITE="https://invisible-island.net/xterm/" |
pascal@16938 | 11 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL" |
al@17183 | 12 GENERIC_PIXMAPS="no" |
al@17501 | 13 TAGS="terminal" |
pankso@16064 | 14 HOST_ARCH="i486 arm" |
slaxemulator@11126 | 15 |
psychomaniak@18795 | 16 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt \ |
psychomaniak@18795 | 17 xorg-libXaw3d xorg-libXpm" |
slaxemulator@8955 | 18 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \ |
psychomaniak@18795 | 19 xorg-libXft-dev xorg-libXt-dev xorg-libXaw3d-dev" |
pankso@16064 | 20 |
pankso@23 | 21 # Rules to configure and make the package. |
pankso@23 | 22 compile_rules() |
pankso@23 | 23 { |
pascal@17670 | 24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pankso@16064 | 25 ./configure \ |
pankso@16064 | 26 --prefix=/usr \ |
pankso@16064 | 27 --sysconfdir=/etc \ |
pankso@16064 | 28 --mandir=/usr/share/man \ |
pankso@16064 | 29 --localstatedir=/var \ |
psychomaniak@18795 | 30 --with-Xaw3d \ |
pankso@16064 | 31 --with-app-defaults=/usr/share/X11/app-defaults \ |
pankso@2740 | 32 --enable-wide-chars \ |
pankso@2740 | 33 --enable-freetype \ |
pankso@2740 | 34 --enable-doublechars \ |
psychomaniak@16936 | 35 --enable-256-color \ |
psychomaniak@17179 | 36 --enable-meta-sends-esc \ |
psychomaniak@17179 | 37 --disable-delete-is-del \ |
psychomaniak@17179 | 38 --disable-sun-fkeys \ |
psychomaniak@17179 | 39 --disable-boxchars \ |
psychomaniak@17179 | 40 --disable-desktop \ |
psychomaniak@17179 | 41 --disable-tek4014 \ |
psychomaniak@17179 | 42 --disable-vt52 \ |
psychomaniak@17179 | 43 --disable-luit \ |
psychomaniak@17340 | 44 --disable-rectangles \ |
psychomaniak@17179 | 45 --with-icon-symlink \ |
pankso@16064 | 46 $CONFIGURE_ARGS && |
pankso@16064 | 47 make && |
pankso@16064 | 48 make DESTDIR=$DESTDIR install |
pankso@23 | 49 } |
pankso@23 | 50 |
pankso@23 | 51 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 52 genpkg_rules() |
pankso@23 | 53 { |
psychomaniak@17179 | 54 cp -a $install/* $fs |
al@17183 | 55 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete |
al@17183 | 56 rm -rf $fs/usr/share/pixmaps |
al@17183 | 57 ln -s xterm $fs/usr/bin/uxterm |
psychomaniak@18845 | 58 cat >> $fs/usr/share/X11/app-defaults/XTerm <<EOT |
psychomaniak@18845 | 59 ! |
psychomaniak@18845 | 60 ! libXaw3d options |
psychomaniak@18845 | 61 xterm*beNiceToColormap: false |
psychomaniak@18845 | 62 xterm*SmeBSB.shadowWidth: 3 |
psychomaniak@18845 | 63 xterm*topShadowContrast: 20 |
psychomaniak@18845 | 64 xterm*bottomShadowContrast: 50 |
psychomaniak@18845 | 65 EOT |
psychomaniak@18845 | 66 chown -R root:root $fs |
pankso@23 | 67 } |
pankso@16064 | 68 |
pankso@16064 | 69 # One of the first X apps cross compiled. Be sure all went well |
pankso@16064 | 70 testsuite() |
pankso@16064 | 71 { |
pankso@16064 | 72 readelf -h $install/usr/bin/xterm |
pankso@16064 | 73 } |