wok-next rev 4360

Add gnuplot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 05 19:11:05 2009 +0200 (2009-10-05)
parents 0d5e57e5056b
children c27f65372234
files gnuplot/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnuplot/receipt	Mon Oct 05 19:11:05 2009 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnuplot"
     1.7 +VERSION="4.2.6"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Command-line driven interactive data and function plotting."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.gnuplot.info/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +DEPENDS="zlib readline ncurses libgd jpeg freetype libpng gcc-lib-base \
    1.15 +xorg-libXpm xorg-libX11 xorg-libXau xorg-libXdmcp fontconfig expat"
    1.16 +BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev libgd-dev jpeg-dev \
    1.17 +freetype-dev libpng-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXau-dev \
    1.18 +xorg-libXdmcp-dev fontconfig-dev expat-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--libexecdir=/usr/lib \
    1.27 +		--infodir=/usr/share/info \
    1.28 +		--mandir=/usr/share/man \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$PWD/_pkg install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/share
    1.38 +	cp -a $_pkg/usr/bin $fs/usr
    1.39 +	cp -a $_pkg/usr/lib $fs/usr
    1.40 +	cp -a $_pkg/usr/share/gnuplot $fs/usr/share
    1.41 +}