wok annotate xterm/receipt @ rev 18837
Up slitaz-base-files + typo in autoblog
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Wed Jan 20 21:39:21 2016 +0100 (2016-01-20) |
parents | c9e270dd464f |
children | 9db5705d64a7 |
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" |
slaxemulator@11126 | 10 WEB_SITE="http://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 |
pankso@23 | 58 } |
pankso@16064 | 59 |
pankso@16064 | 60 # One of the first X apps cross compiled. Be sure all went well |
pankso@16064 | 61 testsuite() |
pankso@16064 | 62 { |
pankso@16064 | 63 readelf -h $install/usr/bin/xterm |
pankso@16064 | 64 } |