wok annotate gnuplot/receipt @ rev 17707

Up marlin: edit last patch (again)
author Yuri Pourre <yuripourre@gmail.com>
date Mon Mar 02 11:31:13 2015 -0300 (2015-03-02)
parents 4665cd0e37ad
children 3705d68ed8f3
rev   line source
pascal@4360 1 # SliTaz package receipt.
pascal@4360 2
pascal@4360 3 PACKAGE="gnuplot"
devl547@16407 4 VERSION="4.6.5"
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@15600 8 LICENSE="BSD"
pascal@4360 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4360 10 WEB_SITE="http://www.gnuplot.info/"
pascal@4360 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15600 12
pascal@4360 13 DEPENDS="zlib readline ncurses libgd jpeg freetype libpng gcc-lib-base \
paul@4371 14 xorg-libXpm xorg-libX11 xorg-libXau xorg-libXdmcp fontconfig expat wxWidgets \
paul@4371 15 xorg-libXxf86vm"
pascal@4360 16 BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev libgd-dev jpeg-dev \
pascal@4360 17 freetype-dev libpng-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXau-dev \
slaxemulator@6477 18 xorg-libXdmcp-dev fontconfig-dev expat-dev wxWidgets-dev pango-dev cairo-dev"
pascal@4360 19
pascal@4360 20 # Rules to configure and make the package.
pascal@4360 21 compile_rules()
pascal@4360 22 {
pascal@17670 23 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@4360 24 ./configure \
pascal@4360 25 --prefix=/usr \
pascal@4360 26 --libexecdir=/usr/lib \
pascal@4360 27 --infodir=/usr/share/info \
pascal@4360 28 --mandir=/usr/share/man \
pascal@4360 29 $CONFIGURE_ARGS &&
devl547@16407 30 make $MAKEOPTS &&
pascal@15600 31 make DESTDIR=$DESTDIR install
pascal@4360 32 }
pascal@4360 33
pascal@4360 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4360 35 genpkg_rules()
pascal@4360 36 {
pascal@4360 37 mkdir -p $fs/usr/share
pascal@15600 38 cp -a $install/usr/bin $fs/usr
pascal@15600 39 cp -a $install/usr/lib $fs/usr
pascal@15600 40 cp -a $install/usr/share/gnuplot $fs/usr/share
pascal@4360 41 }