wok view 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 |
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 \
17 xorg-libXaw3d xorg-libXpm"
18 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
19 xorg-libXft-dev xorg-libXt-dev xorg-libXaw3d-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --mandir=/usr/share/man \
29 --localstatedir=/var \
30 --with-Xaw3d \
31 --with-app-defaults=/usr/share/X11/app-defaults \
32 --enable-wide-chars \
33 --enable-freetype \
34 --enable-doublechars \
35 --enable-256-color \
36 --enable-meta-sends-esc \
37 --disable-delete-is-del \
38 --disable-sun-fkeys \
39 --disable-boxchars \
40 --disable-desktop \
41 --disable-tek4014 \
42 --disable-vt52 \
43 --disable-luit \
44 --disable-rectangles \
45 --with-icon-symlink \
46 $CONFIGURE_ARGS &&
47 make &&
48 make DESTDIR=$DESTDIR install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 cp -a $install/* $fs
55 find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
56 rm -rf $fs/usr/share/pixmaps
57 ln -s xterm $fs/usr/bin/uxterm
58 }
60 # One of the first X apps cross compiled. Be sure all went well
61 testsuite()
62 {
63 readelf -h $install/usr/bin/xterm
64 }