wok diff maxima/receipt @ rev 11935

removed extensions from desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 20:31:31 2012 -0800 (2012-02-29)
parents
children f555951980e7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/maxima/receipt	Wed Feb 29 20:31:31 2012 -0800
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="maxima"
     1.7 +VERSION="5.25.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="a Computer Algebra System."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://maxima.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +DEPENDS="tk rlwrap"
    1.16 +BUILD_DEPENDS="clisp texinfo"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr --mandir=/usr/share/man \
    1.23 +		--localstatedir=/var \
    1.24 +	$CONFIGURE_ARGS &&
    1.25 +	make -j 1 && make -j 1 check &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.30 +genpkg_rules()                                      
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share/applications
    1.33 +	cp -a $_pkg/usr $fs
    1.34 +	cat > $fs/usr/share/applications/xmaxima.desktop <<EOT
    1.35 +[Desktop Entry]
    1.36 +Encoding=UTF-8
    1.37 +Name=Maxima Algebra System
    1.38 +Exec=xmaxima
    1.39 +Icon=/$(cd $fs/ ; find usr -name maxima-icon.png)
    1.40 +Terminal=false
    1.41 +Type=Application
    1.42 +Categories=GNOME;Application;Utility;
    1.43 +EOT
    1.44 +}