wok diff maxima/receipt @ rev 11427
Add: barnyard2
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 15 09:43:10 2011 +0100 (2011-12-15) |
parents | |
children | f555951980e7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/maxima/receipt Thu Dec 15 09:43:10 2011 +0100 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 +}