wok-next view maxima/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | c7a7d8278ff3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="maxima"
4 VERSION="5.41.0"
5 CATEGORY="misc"
6 SHORT_DESC="A Computer Algebra System"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://maxima.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="clisp texinfo"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 --localstatedir=/var \
21 $CONFIGURE_ARGS &&
22 make -j1 &&
23 make -j1 check &&
24 make DESTDIR=$install install
25 }
27 genpkg_rules() {
28 mkdir -p $fs/usr/share/applications
29 cp -a $install/usr $fs
30 cat > $fs/usr/share/applications/xmaxima.desktop <<EOT
31 [Desktop Entry]
32 Encoding=UTF-8
33 Name=Maxima Algebra System
34 Exec=xmaxima
35 Icon=maxima-icon
36 Terminal=false
37 Type=Application
38 Categories=GNOME;Application;Utility;
39 EOT
40 DEPENDS="tk rlwrap"
41 }