wok view maxima/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 7896f0694ef6
children 051931e905b0
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 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 cd $src
20 ./configure --prefix=/usr --mandir=/usr/share/man \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make -j 1 && make -j 1 check &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/applications
31 cp -a $_pkg/usr $fs
32 cat > $fs/usr/share/applications/xmaxima.desktop <<EOT
33 [Desktop Entry]
34 Encoding=UTF-8
35 Name=Maxima Algebra System
36 Exec=xmaxima
37 Icon=maxima-icon
38 Terminal=false
39 Type=Application
40 Categories=GNOME;Application;Utility;
41 EOT
42 }