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

Up: poppler to 0.18.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 27 18:15:11 2012 -0500 (2012-02-27)
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 }