wok annotate maxima/receipt @ rev 21692

simple-mtpfs: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 04 11:06:20 2019 +0200 (2019-06-04)
parents ee5c8b018b62
children afae00265386
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@11225 16 # Rules to configure and make the package.
pascal@11225 17 compile_rules()
pascal@11225 18 {
pascal@11225 19 cd $src
pascal@11225 20 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11225 21 --localstatedir=/var \
pascal@11225 22 $CONFIGURE_ARGS &&
pascal@11225 23 make -j 1 && make -j 1 check &&
pascal@15602 24 make DESTDIR=$DESTDIR install
pascal@11225 25 }
pascal@11225 26
pascal@11225 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11225 28 genpkg_rules()
pascal@11225 29 {
pascal@11225 30 mkdir -p $fs/usr/share/applications
pascal@15603 31 cp -a $install/usr $fs
pascal@11225 32 cat > $fs/usr/share/applications/xmaxima.desktop <<EOT
pascal@11225 33 [Desktop Entry]
pascal@11225 34 Encoding=UTF-8
pascal@11225 35 Name=Maxima Algebra System
pascal@11225 36 Exec=xmaxima
samuel_trassare@12009 37 Icon=maxima-icon
pascal@11225 38 Terminal=false
pascal@11225 39 Type=Application
pascal@11225 40 Categories=GNOME;Application;Utility;
pascal@11225 41 EOT
pascal@11225 42 }