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