wok-stable view gnuplot/receipt @ rev 5268
Add: mpc-library (C lib for the arithmetic) New dep for gcc 4.5.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 14 22:45:03 2010 +0200 (2010-04-14) |
parents | 7f41991f54c4 |
children | 89486daf7a22 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuplot"
4 VERSION="4.2.6"
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"
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 }