wok-current rev 11225

Add from wok-undigest: maxima mongodb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 04 09:59:19 2011 +0100 (2011-11-04)
parents 1311ba9fe4bf
children ab72a4d08ed3
files maxima/receipt mongodb/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/maxima/receipt	Fri Nov 04 09:59:19 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 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mongodb/receipt	Fri Nov 04 09:59:19 2011 +0100
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="mongodb"
     2.7 +VERSION="1.6.3"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="MongoDB bridges the gap between key-value stores and traditional RDBMS systems"
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="pcre libboost-filesystem libboost-thread libboost-program-options \
    2.12 +spidermonkey"
    2.13 +BUILD_DEPENDS="$DEPENDS scons pcre-dev libboost-dev libboost-filesystem-dev \
    2.14 +libboost-thread-dev libboost-program-options-dev spidermonkey-dev"
    2.15 +TARBALL="$PACKAGE-src-r${VERSION}.tar.gz"
    2.16 +WEB_SITE="http://www.mongodb.org/"
    2.17 +WGET_URL="http://downloads.mongodb.org/src/mongodb-src-r1.6.3.tar.gz"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	mv $PACKAGE-src-r${VERSION} $PACKAGE-$VERSION 2> /dev/null
    2.23 +	cd $src
    2.24 +	scons all &&
    2.25 +	scons --prefix=$PWD/_pkg/usr install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr
    2.32 +	cp -a $_pkg/usr/bin $fs/usr
    2.33 +}