wok-next view xterm/receipt @ rev 11168

ftgl: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 02 07:12:20 2011 +0000 (2011-11-02)
parents 93e96ae3bf16
children 06f532ae65c8
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="276"
5 CATEGORY="utilities"
6 SHORT_DESC="X Terminal emulator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://invisible-island.net/xterm/"
10 WGET_URL="ftp://invisible-island.net/xterm/$TARBALL"
12 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
13 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
14 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev imagemagick"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications
21 cp xterm.desktop $DESTDIR/usr/share/applications
22 convert icons/xterm_32x32.xpm $DESTDIR/usr/share/pixmaps/xterm.png
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --with-app-defaults=/usr/share/X11/app-defaults \
29 --enable-wide-chars \
30 --enable-freetype \
31 --enable-doublechars \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/share $fs/usr
43 }