wok-current annotate 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 |
rev | line source |
---|---|
pascal@4360 | 1 # SliTaz package receipt. |
pascal@4360 | 2 |
pascal@4360 | 3 PACKAGE="gnuplot" |
Hans-G?nter@24612 | 4 VERSION="5.4.3" |
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" |
Hans-G?nter@24612 | 9 WEB_SITE="http://www.gnuplot.info/" |
Hans-G?nter@24612 | 10 |
pascal@4360 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4360 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15600 | 13 |
Hans-G?nter@24612 | 14 DEPENDS="expat fontconfig freetype gcc-lib-base jpeg libgd libpng |
Hans-G?nter@24612 | 15 ncurses readline wxWidgets xorg-libX11 xorg-libXau |
Hans-G?nter@24612 | 16 xorg-libXdmcp xorg-libXpm xorg-libXxf86vm zlib" |
Hans-G?nter@24612 | 17 BUILD_DEPENDS="cairo-dev expat-dev fontconfig-dev freetype-dev |
Hans-G?nter@24612 | 18 jpeg-dev libgd-dev libpng-dev ncurses-dev pango-dev |
Hans-G?nter@24612 | 19 readline-dev wxWidgets-dev xorg-libX11-dev xorg-libXau-dev |
Hans-G?nter@24612 | 20 xorg-libXdmcp-dev xorg-libXpm-dev zlib-dev" |
pascal@4360 | 21 |
pascal@24403 | 22 # What is the latest version available today? |
pascal@24403 | 23 current_version() |
pascal@24403 | 24 { |
pascal@24403 | 25 wget -O - https://sourceforge.net/projects/gnuplot/files/gnuplot/ 2>/dev/null | \ |
pascal@24403 | 26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 27 sed '/scope="row/!d;s|.*/gnuplot/||;s|/.*||;q' |
pascal@24403 | 28 } |
pascal@24403 | 29 |
pascal@4360 | 30 # Rules to configure and make the package. |
pascal@4360 | 31 compile_rules() |
pascal@4360 | 32 { |
pascal@20212 | 33 sed -i 's|uname -m|echo i486|' src/beos/Makefile* |
pascal@17670 | 34 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@24612 | 35 |
Hans-G?nter@24612 | 36 ./configure \ |
Hans-G?nter@24612 | 37 --prefix=/usr \ |
Hans-G?nter@24612 | 38 --libexecdir=/usr/lib \ |
Hans-G?nter@24612 | 39 --infodir=/usr/share/info \ |
Hans-G?nter@24612 | 40 --mandir=/usr/share/man \ |
Hans-G?nter@24612 | 41 --with-qt=no \ |
Hans-G?nter@24612 | 42 --without-libcerf \ |
pascal@4360 | 43 $CONFIGURE_ARGS && |
devl547@16407 | 44 make $MAKEOPTS && |
Hans-G?nter@24612 | 45 make install DESTDIR=$DESTDIR |
pascal@4360 | 46 } |
pascal@4360 | 47 |
pascal@4360 | 48 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4360 | 49 genpkg_rules() |
pascal@4360 | 50 { |
pascal@4360 | 51 mkdir -p $fs/usr/share |
Hans-G?nter@24612 | 52 |
Hans-G?nter@24612 | 53 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@24612 | 54 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@24612 | 55 cp -a $install/usr/share/gnuplot $fs/usr/share |
pascal@4360 | 56 } |