wok view xterm/receipt @ rev 17356

Up slitaz-boot-scripts (5.6.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 18 14:27:51 2014 +0100 (2014-11-18)
parents 8c7d656c813d
children 5d53e8ccbc8d
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="309"
5 CATEGORY="utilities"
6 SHORT_DESC="X Terminal emulator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://invisible-island.net/xterm/"
11 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL"
12 GENERIC_PIXMAPS="no"
13 HOST_ARCH="i486 arm"
15 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
16 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
17 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-app-defaults=/usr/share/X11/app-defaults \
28 --enable-wide-chars \
29 --enable-freetype \
30 --enable-doublechars \
31 --enable-256-color \
32 --enable-meta-sends-esc \
33 --disable-delete-is-del \
34 --disable-sun-fkeys \
35 --disable-boxchars \
36 --disable-desktop \
37 --disable-tek4014 \
38 --disable-vt52 \
39 --disable-luit \
40 --disable-rectangles \
41 --with-icon-symlink \
42 $CONFIGURE_ARGS &&
43 make &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 cp -a $install/* $fs
51 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
52 rm -rf $fs/usr/share/pixmaps
53 ln -s xterm $fs/usr/bin/uxterm
54 }
56 # One of the first X apps cross compiled. Be sure all went well
57 testsuite()
58 {
59 readelf -h $install/usr/bin/xterm
60 }