wok-current view xterm/receipt @ rev 17324
Add e2tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 04 19:06:05 2014 +0100 (2014-11-04) |
parents | 30f07d40a954 |
children | e5d0fa35dcd1 |
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 --with-icon-symlink \
41 $CONFIGURE_ARGS &&
42 make &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cp -a $install/* $fs
50 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
51 rm -rf $fs/usr/share/pixmaps
52 ln -s xterm $fs/usr/bin/uxterm
53 }
55 # One of the first X apps cross compiled. Be sure all went well
56 testsuite()
57 {
58 readelf -h $install/usr/bin/xterm
59 }