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

podofo: set FREETYPE_INCLUDE_DIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 10 19:10:25 2016 +0100 (2016-03-10)
parents ee5c8b018b62
children afae00265386
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 $install/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 }