wok-current annotate xterm/receipt @ rev 25026
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 10:39:49 2022 +0000 (2022-05-19) |
parents | 7e911016a644 |
children | 3ad63c8fc2f9 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
Hans-G?nter@23782 | 4 VERSION="356" |
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 |
pascal@24069 | 24 current_version() |
pascal@24069 | 25 { |
pascal@24069 | 26 wget -O - ${WEB_SITE}xterm.log.html 2>/dev/null | \ |
pascal@24100 | 27 sed '/Patch/!d;s|.*xterm_||;s|".*||;q' |
pascal@24069 | 28 } |
pascal@24069 | 29 |
pankso@23 | 30 # Rules to configure and make the package. |
pankso@23 | 31 compile_rules() |
pankso@23 | 32 { |
pascal@17670 | 33 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
Hans-G?nter@22310 | 34 |
Hans-G?nter@22310 | 35 ./configure \ |
Hans-G?nter@22310 | 36 --prefix=/usr \ |
Hans-G?nter@22310 | 37 --sysconfdir=/etc \ |
Hans-G?nter@22310 | 38 --mandir=/usr/share/man \ |
Hans-G?nter@22310 | 39 --localstatedir=/var \ |
Hans-G?nter@23782 | 40 --with-app-defaults=/usr/share/X11/app-defaults \ |
Hans-G?nter@23782 | 41 --with-icon-symlink \ |
Hans-G?nter@22310 | 42 --with-Xaw3d \ |
Hans-G?nter@23782 | 43 --enable-256-color \ |
Hans-G?nter@23782 | 44 --disable-boxchars \ |
Hans-G?nter@22310 | 45 --disable-delete-is-del \ |
Hans-G?nter@23782 | 46 --disable-desktop \ |
Hans-G?nter@23782 | 47 --enable-doublechars \ |
Hans-G?nter@23782 | 48 --enable-freetype \ |
Hans-G?nter@23782 | 49 --disable-luit \ |
Hans-G?nter@23782 | 50 --enable-meta-sends-esc \ |
Hans-G?nter@23782 | 51 --disable-rectangles \ |
Hans-G?nter@22310 | 52 --disable-sun-fkeys \ |
Hans-G?nter@22310 | 53 --disable-tek4014 \ |
Hans-G?nter@22310 | 54 --disable-vt52 \ |
Hans-G?nter@23782 | 55 --enable-wide-chars \ |
pankso@16064 | 56 $CONFIGURE_ARGS && |
pankso@16064 | 57 make && |
pankso@16064 | 58 make DESTDIR=$DESTDIR install |
pankso@23 | 59 } |
pankso@23 | 60 |
pankso@23 | 61 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 62 genpkg_rules() |
pankso@23 | 63 { |
Hans-G?nter@23782 | 64 cp -a $install/* $fs |
al@17183 | 65 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete |
Hans-G?nter@23782 | 66 rm -rf $fs/usr/share/pixmaps |
Hans-G?nter@23782 | 67 ln -s xterm $fs/usr/bin/uxterm |
Hans-G?nter@22310 | 68 |
psychomaniak@18845 | 69 cat >> $fs/usr/share/X11/app-defaults/XTerm <<EOT |
psychomaniak@18845 | 70 ! |
psychomaniak@18845 | 71 ! libXaw3d options |
psychomaniak@18845 | 72 xterm*beNiceToColormap: false |
psychomaniak@18845 | 73 xterm*SmeBSB.shadowWidth: 3 |
psychomaniak@18845 | 74 xterm*topShadowContrast: 20 |
psychomaniak@18845 | 75 xterm*bottomShadowContrast: 50 |
psychomaniak@18845 | 76 EOT |
Hans-G?nter@22310 | 77 |
psychomaniak@18845 | 78 chown -R root:root $fs |
pankso@23 | 79 } |
pankso@16064 | 80 |
pankso@16064 | 81 # One of the first X apps cross compiled. Be sure all went well |
pankso@16064 | 82 testsuite() |
pankso@16064 | 83 { |
pankso@16064 | 84 readelf -h $install/usr/bin/xterm |
pankso@16064 | 85 } |