wok view maxima/receipt @ rev 12985

Move from undigest enna gnaughty open-cobol
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 02 17:09:50 2012 +0200 (2012-06-02)
parents 6d24611d6736
children 25a8997078e8
line source
1 # SliTaz package receipt.
3 PACKAGE="maxima"
4 VERSION="5.25.1"
5 CATEGORY="misc"
6 SHORT_DESC="a Computer Algebra System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://maxima.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="tk rlwrap"
13 BUILD_DEPENDS="clisp texinfo"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --mandir=/usr/share/man \
20 --localstatedir=/var \
21 $CONFIGURE_ARGS &&
22 make -j 1 && make -j 1 check &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/applications
30 cp -a $_pkg/usr $fs
31 cat > $fs/usr/share/applications/xmaxima.desktop <<EOT
32 [Desktop Entry]
33 Encoding=UTF-8
34 Name=Maxima Algebra System
35 Exec=xmaxima
36 Icon=maxima-icon
37 Terminal=false
38 Type=Application
39 Categories=GNOME;Application;Utility;
40 EOT
41 }