wok-next annotate xterm/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | f39f273a6ec1 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@19839 | 1 # SliTaz package receipt v2. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
al@19839 | 4 VERSION="330" |
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" |
al@19839 | 9 WEB_SITE="http://invisible-island.net/xterm/" |
al@19839 | 10 COOKOPTS="!pixmaps" |
al@19839 | 11 |
slaxemulator@11126 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
al@19839 | 13 WGET_URL="ftp://ftp.invisible-island.net/xterm/$TARBALL" |
slaxemulator@11126 | 14 |
al@19839 | 15 BUILD_DEPENDS="ncurses-dev xorg-libXpm-dev xorg-libXinerama-dev \ |
al@19839 | 16 xorg-libXaw3d-dev xorg-libXcursor-dev freetype-dev expat-dev fontconfig-dev \ |
al@19839 | 17 xorg-libXft-dev xorg-libXt-dev" |
pankso@16064 | 18 |
al@20443 | 19 compile_rules() { |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pankso@16064 | 21 ./configure \ |
pankso@16064 | 22 --prefix=/usr \ |
pankso@16064 | 23 --sysconfdir=/etc \ |
pankso@16064 | 24 --mandir=/usr/share/man \ |
pankso@16064 | 25 --localstatedir=/var \ |
al@19839 | 26 --with-icon-symlink \ |
al@19839 | 27 --disable-desktop \ |
al@19839 | 28 --with-x \ |
psychomaniak@18795 | 29 --with-Xaw3d \ |
pankso@16064 | 30 --with-app-defaults=/usr/share/X11/app-defaults \ |
pankso@2740 | 31 --enable-wide-chars \ |
pankso@2740 | 32 --enable-freetype \ |
pankso@2740 | 33 --enable-doublechars \ |
psychomaniak@16936 | 34 --enable-256-color \ |
psychomaniak@17179 | 35 --enable-meta-sends-esc \ |
psychomaniak@17179 | 36 --disable-delete-is-del \ |
psychomaniak@17179 | 37 --disable-sun-fkeys \ |
psychomaniak@17179 | 38 --disable-boxchars \ |
psychomaniak@17179 | 39 --disable-tek4014 \ |
psychomaniak@17179 | 40 --disable-vt52 \ |
psychomaniak@17179 | 41 --disable-luit \ |
al@19839 | 42 --enable-sixel-graphics \ |
psychomaniak@17340 | 43 --disable-rectangles \ |
pankso@16064 | 44 $CONFIGURE_ARGS && |
pankso@16064 | 45 make && |
pankso@16064 | 46 make DESTDIR=$DESTDIR install |
pankso@23 | 47 |
al@19839 | 48 cat >> $install/usr/share/X11/app-defaults/XTerm <<EOT |
psychomaniak@18845 | 49 ! |
psychomaniak@18845 | 50 ! libXaw3d options |
psychomaniak@18845 | 51 xterm*beNiceToColormap: false |
psychomaniak@18845 | 52 xterm*SmeBSB.shadowWidth: 3 |
psychomaniak@18845 | 53 xterm*topShadowContrast: 20 |
psychomaniak@18845 | 54 xterm*bottomShadowContrast: 50 |
psychomaniak@18845 | 55 EOT |
al@19839 | 56 |
al@19839 | 57 for size in 16 48; do |
al@19839 | 58 dir=$install/usr/share/icons/hicolor/${size}x$size/apps |
al@19839 | 59 mkdir -p $dir |
al@19839 | 60 cp $src/icons/mini.xterm_${size}x$size.png $dir/xterm.png |
al@19839 | 61 done |
pankso@23 | 62 } |
pankso@16064 | 63 |
pankso@16064 | 64 # One of the first X apps cross compiled. Be sure all went well |
al@19839 | 65 testsuite() { |
pankso@16064 | 66 readelf -h $install/usr/bin/xterm |
pankso@16064 | 67 } |
al@19839 | 68 |
al@20443 | 69 genpkg_rules() { |
al@19839 | 70 copy xterm resize XTerm XTerm-color *.png |
al@19839 | 71 TAGS="terminal" |
al@19839 | 72 DEPENDS="fontconfig ncurses xorg-libICE xorg-libX11 xorg-libXaw3d \ |
al@19839 | 73 xorg-libXft xorg-libXinerama xorg-libXmu xorg-libXpm xorg-libXt" |
al@19839 | 74 } |