wok-current annotate gnuplot/receipt @ rev 12938

Up: aria2 to 1.15.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 30 04:52:44 2012 +0000 (2012-05-30)
parents fd172e265d79
children de49f29b101e
rev   line source
pascal@4360 1 # SliTaz package receipt.
pascal@4360 2
pascal@4360 3 PACKAGE="gnuplot"
slaxemulator@6477 4 VERSION="4.4.0"
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 \
slaxemulator@6477 16 xorg-libXdmcp-dev fontconfig-dev expat-dev wxWidgets-dev pango-dev cairo-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 }