wok-next annotate gnuplot/receipt @ rev 4360

Add gnuplot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 05 19:11:05 2009 +0200 (2009-10-05)
parents
children fd172e265d79
rev   line source
pascal@4360 1 # SliTaz package receipt.
pascal@4360 2
pascal@4360 3 PACKAGE="gnuplot"
pascal@4360 4 VERSION="4.2.6"
pascal@4360 5 CATEGORY="graphics"
pascal@4360 6 SHORT_DESC="Command-line driven interactive data and function plotting."
pascal@4360 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4360 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4360 9 WEB_SITE="http://www.gnuplot.info/"
pascal@4360 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@4360 11 DEPENDS="zlib readline ncurses libgd jpeg freetype libpng gcc-lib-base \
pascal@4360 12 xorg-libXpm xorg-libX11 xorg-libXau xorg-libXdmcp fontconfig expat"
pascal@4360 13 BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev libgd-dev jpeg-dev \
pascal@4360 14 freetype-dev libpng-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXau-dev \
pascal@4360 15 xorg-libXdmcp-dev fontconfig-dev expat-dev"
pascal@4360 16
pascal@4360 17 # Rules to configure and make the package.
pascal@4360 18 compile_rules()
pascal@4360 19 {
pascal@4360 20 cd $src
pascal@4360 21 ./configure \
pascal@4360 22 --prefix=/usr \
pascal@4360 23 --libexecdir=/usr/lib \
pascal@4360 24 --infodir=/usr/share/info \
pascal@4360 25 --mandir=/usr/share/man \
pascal@4360 26 $CONFIGURE_ARGS &&
pascal@4360 27 make &&
pascal@4360 28 make DESTDIR=$PWD/_pkg install
pascal@4360 29 }
pascal@4360 30
pascal@4360 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4360 32 genpkg_rules()
pascal@4360 33 {
pascal@4360 34 mkdir -p $fs/usr/share
pascal@4360 35 cp -a $_pkg/usr/bin $fs/usr
pascal@4360 36 cp -a $_pkg/usr/lib $fs/usr
pascal@4360 37 cp -a $_pkg/usr/share/gnuplot $fs/usr/share
pascal@4360 38 }