wok annotate maxima/receipt @ rev 14066

Add gpick; lua-dev: fix pc file
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 20 15:07:19 2013 +0000 (2013-02-20)
parents 6d24611d6736
children 25a8997078e8
rev   line source
pascal@11225 1 # SliTaz package receipt.
pascal@11225 2
pascal@11225 3 PACKAGE="maxima"
pascal@11225 4 VERSION="5.25.1"
pascal@11225 5 CATEGORY="misc"
pascal@11225 6 SHORT_DESC="a Computer Algebra System."
pascal@11225 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11225 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11225 9 WEB_SITE="http://maxima.sourceforge.net/"
pascal@11225 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11225 11
pascal@11225 12 DEPENDS="tk rlwrap"
pascal@11225 13 BUILD_DEPENDS="clisp texinfo"
pascal@11225 14
pascal@11225 15 # Rules to configure and make the package.
pascal@11225 16 compile_rules()
pascal@11225 17 {
pascal@11225 18 cd $src
pascal@11225 19 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11225 20 --localstatedir=/var \
pascal@11225 21 $CONFIGURE_ARGS &&
pascal@11225 22 make -j 1 && make -j 1 check &&
pascal@11225 23 make DESTDIR=$PWD/_pkg install
pascal@11225 24 }
pascal@11225 25
pascal@11225 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11225 27 genpkg_rules()
pascal@11225 28 {
pascal@11225 29 mkdir -p $fs/usr/share/applications
pascal@11225 30 cp -a $_pkg/usr $fs
pascal@11225 31 cat > $fs/usr/share/applications/xmaxima.desktop <<EOT
pascal@11225 32 [Desktop Entry]
pascal@11225 33 Encoding=UTF-8
pascal@11225 34 Name=Maxima Algebra System
pascal@11225 35 Exec=xmaxima
samuel_trassare@12009 36 Icon=maxima-icon
pascal@11225 37 Terminal=false
pascal@11225 38 Type=Application
pascal@11225 39 Categories=GNOME;Application;Utility;
pascal@11225 40 EOT
pascal@11225 41 }