wok view xterm/receipt @ rev 18232

linld: add tobzimage (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 23 12:19:27 2015 +0200 (2015-07-23)
parents 17e313b5b9c1
children 4464f66eb0d2
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="314"
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 TAGS="terminal"
14 HOST_ARCH="i486 arm"
16 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
17 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
18 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 --with-app-defaults=/usr/share/X11/app-defaults \
30 --enable-wide-chars \
31 --enable-freetype \
32 --enable-doublechars \
33 --enable-256-color \
34 --enable-meta-sends-esc \
35 --disable-delete-is-del \
36 --disable-sun-fkeys \
37 --disable-boxchars \
38 --disable-desktop \
39 --disable-tek4014 \
40 --disable-vt52 \
41 --disable-luit \
42 --disable-rectangles \
43 --with-icon-symlink \
44 $CONFIGURE_ARGS &&
45 make &&
46 make DESTDIR=$DESTDIR install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 cp -a $install/* $fs
53 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
54 rm -rf $fs/usr/share/pixmaps
55 ln -s xterm $fs/usr/bin/uxterm
56 }
58 # One of the first X apps cross compiled. Be sure all went well
59 testsuite()
60 {
61 readelf -h $install/usr/bin/xterm
62 }