# HG changeset patch # User Pascal Bellard # Date 1254762665 -7200 # Node ID 7f41991f54c405eaca7dee9ed702d4438112c15b # Parent 0d5e57e5056b84d37323b168006b999c7a3dd4d4 Add gnuplot diff -r 0d5e57e5056b -r 7f41991f54c4 gnuplot/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnuplot/receipt Mon Oct 05 19:11:05 2009 +0200 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="gnuplot" +VERSION="4.2.6" +CATEGORY="graphics" +SHORT_DESC="Command-line driven interactive data and function plotting." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnuplot.info/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="zlib readline ncurses libgd jpeg freetype libpng gcc-lib-base \ +xorg-libXpm xorg-libX11 xorg-libXau xorg-libXdmcp fontconfig expat" +BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev libgd-dev jpeg-dev \ +freetype-dev libpng-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXau-dev \ +xorg-libXdmcp-dev fontconfig-dev expat-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/share/gnuplot $fs/usr/share +}