wok annotate maxima/receipt @ rev 24676

updated iptstate (2.2.6 -> 2.2.7)
author Hans-G?nter Theisgen
date Sat Mar 12 08:53:57 2022 +0100 (2022-03-12)
parents 051931e905b0
children 7dd01dedad38
rev   line source
pascal@11225 1 # SliTaz package receipt.
pascal@11225 2
pascal@11225 3 PACKAGE="maxima"
samuel_trassare@14102 4 VERSION="5.29.1"
pascal@11225 5 CATEGORY="misc"
pascal@11225 6 SHORT_DESC="a Computer Algebra System."
pascal@11225 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@11225 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11225 10 WEB_SITE="http://maxima.sourceforge.net/"
pascal@11225 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11225 12
pascal@11225 13 DEPENDS="tk rlwrap"
pascal@11225 14 BUILD_DEPENDS="clisp texinfo"
pascal@11225 15
pascal@24402 16 # What is the latest version available today?
pascal@24402 17 current_version()
pascal@24402 18 {
pascal@24402 19 wget -O - https://sourceforge.net/projects/maxima/files/Maxima-source/ 2>/dev/null | \
pascal@24402 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24402 21 sed '/scope="row/!d;s|.*/Maxima-source/||;s|-source/.*||;q'
pascal@24402 22 }
pascal@24402 23
pascal@11225 24 # Rules to configure and make the package.
pascal@11225 25 compile_rules()
pascal@11225 26 {
pascal@11225 27 cd $src
pascal@11225 28 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11225 29 --localstatedir=/var \
pascal@11225 30 $CONFIGURE_ARGS &&
pascal@11225 31 make -j 1 && make -j 1 check &&
pascal@15602 32 make DESTDIR=$DESTDIR install
pascal@11225 33 }
pascal@11225 34
pascal@11225 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11225 36 genpkg_rules()
pascal@11225 37 {
pascal@11225 38 mkdir -p $fs/usr/share/applications
pascal@15603 39 cp -a $install/usr $fs
pascal@11225 40 cat > $fs/usr/share/applications/xmaxima.desktop <<EOT
pascal@11225 41 [Desktop Entry]
pascal@11225 42 Encoding=UTF-8
pascal@11225 43 Name=Maxima Algebra System
pascal@11225 44 Exec=xmaxima
samuel_trassare@12009 45 Icon=maxima-icon
pascal@11225 46 Terminal=false
pascal@11225 47 Type=Application
pascal@11225 48 Categories=GNOME;Application;Utility;
pascal@11225 49 EOT
pascal@11225 50 }