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