wok annotate gnuplot/receipt @ rev 20745

azpainter: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 10 10:35:42 2019 +0100 (2019-02-10)
parents 17e313b5b9c1
children 932cd974e081
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@20212 23 sed -i 's|uname -m|echo i486|' src/beos/Makefile*
pascal@17670 24 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@4360 25 ./configure \
pascal@4360 26 --prefix=/usr \
pascal@4360 27 --libexecdir=/usr/lib \
pascal@4360 28 --infodir=/usr/share/info \
pascal@4360 29 --mandir=/usr/share/man \
pascal@4360 30 $CONFIGURE_ARGS &&
devl547@16407 31 make $MAKEOPTS &&
pascal@15600 32 make DESTDIR=$DESTDIR install
pascal@4360 33 }
pascal@4360 34
pascal@4360 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4360 36 genpkg_rules()
pascal@4360 37 {
pascal@4360 38 mkdir -p $fs/usr/share
pascal@15600 39 cp -a $install/usr/bin $fs/usr
pascal@15600 40 cp -a $install/usr/lib $fs/usr
pascal@15600 41 cp -a $install/usr/share/gnuplot $fs/usr/share
pascal@4360 42 }