wok-6.x annotate gnuplot/receipt @ rev 4492

* Up: pidgin-facebookchat (1.63)
author Mallory Mollo <mallory@sweetpeople.org>
date Wed Nov 18 22:46:12 2009 +0100 (2009-11-18)
parents 7f41991f54c4
children 89486daf7a22
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 \
paul@4371 12 xorg-libXpm xorg-libX11 xorg-libXau xorg-libXdmcp fontconfig expat wxWidgets \
paul@4371 13 xorg-libXxf86vm"
pascal@4360 14 BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev libgd-dev jpeg-dev \
pascal@4360 15 freetype-dev libpng-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXau-dev \
pascal@4360 16 xorg-libXdmcp-dev fontconfig-dev expat-dev"
pascal@4360 17
pascal@4360 18 # Rules to configure and make the package.
pascal@4360 19 compile_rules()
pascal@4360 20 {
pascal@4360 21 cd $src
pascal@4360 22 ./configure \
pascal@4360 23 --prefix=/usr \
pascal@4360 24 --libexecdir=/usr/lib \
pascal@4360 25 --infodir=/usr/share/info \
pascal@4360 26 --mandir=/usr/share/man \
pascal@4360 27 $CONFIGURE_ARGS &&
pascal@4360 28 make &&
pascal@4360 29 make DESTDIR=$PWD/_pkg install
pascal@4360 30 }
pascal@4360 31
pascal@4360 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4360 33 genpkg_rules()
pascal@4360 34 {
pascal@4360 35 mkdir -p $fs/usr/share
pascal@4360 36 cp -a $_pkg/usr/bin $fs/usr
pascal@4360 37 cp -a $_pkg/usr/lib $fs/usr
pascal@4360 38 cp -a $_pkg/usr/share/gnuplot $fs/usr/share
pascal@4360 39 }