wok-6.x view gnuplot/receipt @ rev 11391

Compat: replace exit by return in slitaz-toolchain recipe.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:10:43 2011 +0100 (2011-12-10)
parents fd172e265d79
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuplot"
4 VERSION="4.4.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Command-line driven interactive data and function plotting."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnuplot.info/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="zlib readline ncurses libgd jpeg freetype libpng gcc-lib-base \
12 xorg-libXpm xorg-libX11 xorg-libXau xorg-libXdmcp fontconfig expat wxWidgets \
13 xorg-libXxf86vm"
14 BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev libgd-dev jpeg-dev \
15 freetype-dev libpng-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXau-dev \
16 xorg-libXdmcp-dev fontconfig-dev expat-dev wxWidgets-dev pango-dev cairo-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --libexecdir=/usr/lib \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib $fs/usr
38 cp -a $_pkg/usr/share/gnuplot $fs/usr/share
39 }