wok-current annotate xterm/receipt @ rev 18461

Up ranger (1.7.1)
author Paul Issott <paul@slitaz.org>
date Thu Oct 01 19:21:20 2015 +0100 (2015-10-01)
parents 17e313b5b9c1
children 4464f66eb0d2
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
slaxemulator@8955 16 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
slaxemulator@8955 17 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
psychomaniak@17179 18 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev"
pankso@16064 19
pankso@23 20 # Rules to configure and make the package.
pankso@23 21 compile_rules()
pankso@23 22 {
pascal@17670 23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pankso@16064 24 ./configure \
pankso@16064 25 --prefix=/usr \
pankso@16064 26 --sysconfdir=/etc \
pankso@16064 27 --mandir=/usr/share/man \
pankso@16064 28 --localstatedir=/var \
pankso@16064 29 --with-app-defaults=/usr/share/X11/app-defaults \
pankso@2740 30 --enable-wide-chars \
pankso@2740 31 --enable-freetype \
pankso@2740 32 --enable-doublechars \
psychomaniak@16936 33 --enable-256-color \
psychomaniak@17179 34 --enable-meta-sends-esc \
psychomaniak@17179 35 --disable-delete-is-del \
psychomaniak@17179 36 --disable-sun-fkeys \
psychomaniak@17179 37 --disable-boxchars \
psychomaniak@17179 38 --disable-desktop \
psychomaniak@17179 39 --disable-tek4014 \
psychomaniak@17179 40 --disable-vt52 \
psychomaniak@17179 41 --disable-luit \
psychomaniak@17340 42 --disable-rectangles \
psychomaniak@17179 43 --with-icon-symlink \
pankso@16064 44 $CONFIGURE_ARGS &&
pankso@16064 45 make &&
pankso@16064 46 make DESTDIR=$DESTDIR install
pankso@23 47 }
pankso@23 48
pankso@23 49 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@23 50 genpkg_rules()
pankso@23 51 {
psychomaniak@17179 52 cp -a $install/* $fs
al@17183 53 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
al@17183 54 rm -rf $fs/usr/share/pixmaps
al@17183 55 ln -s xterm $fs/usr/bin/uxterm
pankso@23 56 }
pankso@16064 57
pankso@16064 58 # One of the first X apps cross compiled. Be sure all went well
pankso@16064 59 testsuite()
pankso@16064 60 {
pankso@16064 61 readelf -h $install/usr/bin/xterm
pankso@16064 62 }