wok-current view xterm/receipt @ rev 4853
open-iscsi: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 01 21:01:44 2010 +0100 (2010-02-01) |
parents | bd268e22d144 |
children | b098b761931d |
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="243"
5 CATEGORY="utilities"
6 SHORT_DESC="X Terminal emulator."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg expat fontconfig freetype ncurses xorg-libXft"
9 BUILD_DEPENDS="xorg-dev expat-dev fontconfig-dev freetype-dev ncurses-dev \
10 xorg-libXft-dev"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WEB_SITE="http://invisible-island.net/xterm/"
13 WGET_URL="ftp://invisible-island.net/xterm/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --with-app-defaults=/usr/share/X11/app-defaults \
25 --enable-wide-chars \
26 --enable-freetype \
27 --enable-doublechars \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/share/X11 $fs/usr/share
39 }