wok-next rev 13723

Added math libraries: CoCoALib, gf2x, NTL, PARI/GP as dependencies for Giac/Xcas (which is broken this time)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 08:37:05 2012 +0000 (2012-12-21)
parents ade0a50b6a2d
children 9eab99827fe6
files cocoalib/receipt gf2x-dev/receipt gf2x/receipt giac/receipt ntl/receipt pari-dev/receipt pari/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cocoalib/receipt	Fri Dec 21 08:37:05 2012 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cocoalib"
     1.7 +VERSION="0.9952"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="CoCoALib is a GPL C++ library for doing Computations in Commutative Algebra"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://cocoa.dima.unige.it/cocoalib/"
    1.12 +TARBALL="CoCoALib-$VERSION.tgz"
    1.13 +WGET_URL="${WEB_SITE}tgz/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gmp gsl libboost-thread libboost-system libboost-filesystem \
    1.16 +libboost-iostreams libboost-tr1"
    1.17 +BUILD_DEPENDS="bash gmp-dev gsl-dev libboost-thread-dev libboost-system-dev \
    1.18 +libboost-filesystem-dev libboost-iostreams-dev libboost-tr1-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure $CONFIGURE_ARGS && make library
    1.24 +	# INSTALL TARGET for CoCoALib NOT YET IMPLEMENTED
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib $fs/usr/include
    1.31 +	cp -a $src/lib/libcocoa.a /$fs/usr/lib
    1.32 +	cp -a $src/include/* $fs/usr/include
    1.33 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gf2x-dev/receipt	Fri Dec 21 08:37:05 2012 +0000
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gf2x-dev"
     2.7 +VERSION="1.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Devel files for gf2x"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +WEB_SITE="https://gforge.inria.fr/projects/gf2x/"
    2.12 +WANTED="gf2x"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/lib
    2.18 +	cp -a $_pkg/usr/include $fs/usr
    2.19 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    2.20 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gf2x/receipt	Fri Dec 21 08:37:05 2012 +0000
     3.3 @@ -0,0 +1,26 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="gf2x"
     3.7 +VERSION="1.1"
     3.8 +CATEGORY="misc"
     3.9 +SHORT_DESC="gf2x is a library for multiplying polynomials over the binary field"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +WEB_SITE="https://gforge.inria.fr/projects/gf2x/"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WGET_URL="https://gforge.inria.fr/frs/download.php/30873/$TARBALL"
    3.14 +
    3.15 +DEPENDS=""
    3.16 +BUILD_DEPENDS="wget"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	./configure $CONFIGURE_ARGS && make && make install
    3.22 +}
    3.23 +
    3.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.25 +genpkg_rules()
    3.26 +{
    3.27 +	mkdir -p $fs/usr/lib
    3.28 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.29 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/giac/receipt	Fri Dec 21 08:37:05 2012 +0000
     4.3 @@ -0,0 +1,30 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="giac"
     4.7 +VERSION="0.9.4"
     4.8 +CATEGORY="misc"
     4.9 +SHORT_DESC="Giac/Xcas is a free computer algebra system"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.13 +WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac_frozen.tgz"
    4.14 +
    4.15 +DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
    4.16 +BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \
    4.17 +cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev \
    4.18 +fltk-2.0.x-gl bison gfortran mesa-dev" # lapack
    4.19 +
    4.20 +# Rules to configure and make the package.
    4.21 +compile_rules()
    4.22 +{
    4.23 +	./configure $CONFIGURE_ARGS &&
    4.24 +	make &&
    4.25 +	make install
    4.26 +}
    4.27 +
    4.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.29 +genpkg_rules()
    4.30 +{
    4.31 +	:
    4.32 +	# cp -a $install/* $fs
    4.33 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/ntl/receipt	Fri Dec 21 08:37:05 2012 +0000
     5.3 @@ -0,0 +1,30 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="ntl"
     5.7 +VERSION="5.5.2"
     5.8 +CATEGORY="utilities"
     5.9 +SHORT_DESC="A Library for doing Number Theory"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +WEB_SITE="http://shoup.net/ntl/"
    5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.13 +WGET_URL="$WEB_SITE/$TARBALL"
    5.14 +
    5.15 +DEPENDS=""
    5.16 +BUILD_DEPENDS="gmp-dev gf2x-dev libtool"
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	cd $src/src
    5.22 +	./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \
    5.23 +		DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on &&
    5.24 +	make &&
    5.25 +	sed -i '/^DEF_PREFIX=\/usr$/d' makefile
    5.26 +	make DEF_PREFIX=$install/usr install
    5.27 +}
    5.28 +
    5.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.30 +genpkg_rules()
    5.31 +{
    5.32 +	cp -a $install/* $fs
    5.33 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/pari-dev/receipt	Fri Dec 21 08:37:05 2012 +0000
     6.3 @@ -0,0 +1,17 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="pari-dev"
     6.7 +VERSION="2.5.3"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="Devel files for PARI/GP"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +WEB_SITE="http://pari.math.u-bordeaux.fr/"
    6.12 +WANTED="pari"
    6.13 +
    6.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.15 +genpkg_rules()
    6.16 +{
    6.17 +	mkdir -p $fs/usr/lib
    6.18 +	cp -a $_pkg/usr/include $fs/usr
    6.19 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    6.20 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/pari/receipt	Fri Dec 21 08:37:05 2012 +0000
     7.3 @@ -0,0 +1,35 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="pari"
     7.7 +VERSION="2.5.3"
     7.8 +CATEGORY="utilities"
     7.9 +SHORT_DESC="PARI/GP is a widely used computer algebra system"
    7.10 +MAINTAINER="al.bobylev@gmail.com"
    7.11 +WEB_SITE="http://pari.math.u-bordeaux.fr/"
    7.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.13 +WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
    7.14 +
    7.15 +DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
    7.16 +xorg-libXdmcp"
    7.17 +BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
    7.18 +
    7.19 +# Rules to configure and make the package.
    7.20 +compile_rules()
    7.21 +{
    7.22 +	mkdir build
    7.23 +	# this configure not respect $CONFIGURE_ARGS :(
    7.24 +	./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr &&
    7.25 +	cd build
    7.26 +	make all &&
    7.27 +	make DESTDIR=$install install
    7.28 +	rm -rf $src/build
    7.29 +}
    7.30 +
    7.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.32 +genpkg_rules()
    7.33 +{
    7.34 +	mkdir -p $fs/usr/lib/pari $fs/usr/share
    7.35 +	cp -a $install/usr/bin $fs/usr
    7.36 +	cp -a $install/usr/lib/pari $fs/usr/lib
    7.37 +	cp -a $install/usr/share/pari $fs/usr/share
    7.38 +}