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