wok-next view maxima/receipt @ rev 20441

linux, linux-dev: fix mess with i386|i486, update 32bit config
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 05:41:11 2018 +0200 (2018-02-24)
parents 051931e905b0
children d5aab818505e
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://maxima.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="tk rlwrap"
14 BUILD_DEPENDS="clisp texinfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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=$DESTDIR 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 $install/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 }