wok-6.x view xterm/receipt @ rev 13289
memtest: optionnal linux header (disabled)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 26 11:33:29 2012 +0200 (2012-08-26) |
parents | 18bf9b14ced1 |
children | 951edf178257 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="281"
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 $install/usr/bin $fs/usr
42 cp -a $install/usr/share $fs/usr
43 }