wok-next view xterm/receipt @ rev 17101
Add libnetfilter_conntrack
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Aug 29 20:56:19 2014 +0100 (2014-08-29) |
parents | a37b86ced53b |
children | 30f07d40a954 |
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 HOST_ARCH="i486 arm"
14 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
15 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
16 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev imagemagick libltdl"
18 # Handle cross compilation.
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
21 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev "
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 --localstatedir=/var \
32 --with-app-defaults=/usr/share/X11/app-defaults \
33 --enable-wide-chars \
34 --enable-freetype \
35 --enable-doublechars \
36 --enable-256-color \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
46 [ -x "/usr/bin/convert" ] &&
47 convert icons/xterm_32x32.xpm $DESTDIR/usr/share/pixmaps/xterm.png
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share $fs/usr
50 rm -rf $fs/usr/share/man
51 # cp $src/xterm.desktop $DESTDIR/usr/share/applications
52 }
54 # One of the first X apps cross compiled. Be sure all went well
55 testsuite()
56 {
57 readelf -h $install/usr/bin/xterm
58 }