wok-next view maxima/receipt @ rev 12080
Add usb-modeswitch-data help use sell phone as modem
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 09 13:51:51 2012 +0100 (2012-03-09) |
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 }