wok annotate gnuplot/receipt @ rev 24576
updated fswebcam (20140113 -> 20200725)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:49:46 2022 +0100 (2022-02-27) |
parents | 3705d68ed8f3 |
children | 320ba3194f95 |
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@24403 | 20 # What is the latest version available today? |
pascal@24403 | 21 current_version() |
pascal@24403 | 22 { |
pascal@24403 | 23 wget -O - https://sourceforge.net/projects/gnuplot/files/gnuplot/ 2>/dev/null | \ |
pascal@24403 | 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 25 sed '/scope="row/!d;s|.*/gnuplot/||;s|/.*||;q' |
pascal@24403 | 26 } |
pascal@24403 | 27 |
pascal@4360 | 28 # Rules to configure and make the package. |
pascal@4360 | 29 compile_rules() |
pascal@4360 | 30 { |
pascal@20212 | 31 sed -i 's|uname -m|echo i486|' src/beos/Makefile* |
pascal@17670 | 32 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@4360 | 33 ./configure \ |
pascal@4360 | 34 --prefix=/usr \ |
pascal@4360 | 35 --libexecdir=/usr/lib \ |
pascal@4360 | 36 --infodir=/usr/share/info \ |
pascal@4360 | 37 --mandir=/usr/share/man \ |
pascal@4360 | 38 $CONFIGURE_ARGS && |
devl547@16407 | 39 make $MAKEOPTS && |
pascal@15600 | 40 make DESTDIR=$DESTDIR install |
pascal@4360 | 41 } |
pascal@4360 | 42 |
pascal@4360 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4360 | 44 genpkg_rules() |
pascal@4360 | 45 { |
pascal@4360 | 46 mkdir -p $fs/usr/share |
pascal@15600 | 47 cp -a $install/usr/bin $fs/usr |
pascal@15600 | 48 cp -a $install/usr/lib $fs/usr |
pascal@15600 | 49 cp -a $install/usr/share/gnuplot $fs/usr/share |
pascal@4360 | 50 } |