wok-current view gnuplot/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | 932cd974e081 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuplot"
4 VERSION="5.4.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Command-line driven interactive data and function plotting."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.gnuplot.info/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="expat fontconfig freetype gcc-lib-base jpeg libgd libpng
15 ncurses readline wxWidgets xorg-libX11 xorg-libXau
16 xorg-libXdmcp xorg-libXpm xorg-libXxf86vm zlib"
17 BUILD_DEPENDS="cairo-dev expat-dev fontconfig-dev freetype-dev
18 jpeg-dev libgd-dev libpng-dev ncurses-dev pango-dev
19 readline-dev wxWidgets-dev xorg-libX11-dev xorg-libXau-dev
20 xorg-libXdmcp-dev xorg-libXpm-dev zlib-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/gnuplot/files/gnuplot/ 2>/dev/null | \
26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
27 sed '/scope="row/!d;s|.*/gnuplot/||;s|/.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 sed -i 's|uname -m|echo i486|' src/beos/Makefile*
34 export LDFLAGS="$LDFLAGS -ltinfo"
36 ./configure \
37 --prefix=/usr \
38 --libexecdir=/usr/lib \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 --with-qt=no \
42 --without-libcerf \
43 $CONFIGURE_ARGS &&
44 make $MAKEOPTS &&
45 make install DESTDIR=$DESTDIR
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/usr/lib $fs/usr
55 cp -a $install/usr/share/gnuplot $fs/usr/share
56 }