wok view maxima/receipt @ rev 11225

Add from wok-undigest: maxima mongodb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 04 09:59:19 2011 +0100 (2011-11-04)
parents
children f555951980e7
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=/$(cd $fs/ ; find usr -name maxima-icon.png)
37 Terminal=false
38 Type=Application
39 Categories=GNOME;Application;Utility;
40 EOT
41 }