wok-6.x view maxima/receipt @ rev 14522

Up: transmission (2.52)
author Richard Dunbar <mojo@slitaz.org>
date Fri May 17 03:18:43 2013 +0000 (2013-05-17)
parents f555951980e7
children 7896f0694ef6
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 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 }