wok-6.x rev 520

Paving the road for gcc-4.3.0, add: gmp + mpfr
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 00:36:02 2008 +0200 (2008-04-09)
parents 5785b6983469
children cd99ec381938
files gmp-dev/receipt gmp/receipt mpfr-dev/receipt mpfr/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gmp-dev/receipt	Wed Apr 09 00:36:02 2008 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt
     1.5 +
     1.6 +PACKAGE="gmp-dev"
     1.7 +VERSION="4.2.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="GNU Multiple Precision Arithmetic devel files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="gmp"
    1.12 +WEB_SITE="http://gmplib.org/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +}
    1.21 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gmp/receipt	Wed Apr 09 00:36:02 2008 +0200
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt
     2.5 +
     2.6 +PACKAGE="gmp"
     2.7 +VERSION="4.2.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="GNU Multiple Precision Arithmetic Library."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="make"
    2.12 +BUILD_DEPENDS="glibc-dev make"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WEB_SITE="http://gmplib.org/"
    2.15 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{	
    2.20 +	cd $src
    2.21 +	./configure \
    2.22 +		--prefix=/usr \
    2.23 +		--infodir=/usr/share/info \
    2.24 +		$CONFIGURE_ARGS
    2.25 +	make
    2.26 +	make DESTDIR=$PWD/_pkg install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr/lib
    2.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.34 +}
    2.35 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mpfr-dev/receipt	Wed Apr 09 00:36:02 2008 +0200
     3.3 @@ -0,0 +1,18 @@
     3.4 +# SliTaz package receipt
     3.5 +
     3.6 +PACKAGE="mpfr-dev"
     3.7 +VERSION="2.3.1"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="GNU Multiple Precision Arithmetic devel files."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +WANTED="mpfr"
    3.12 +WEB_SITE="http://gmplib.org/"
    3.13 +
    3.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.15 +genpkg_rules()
    3.16 +{
    3.17 +	mkdir -p $fs/usr/lib
    3.18 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    3.19 +	cp -a $_pkg/usr/include $fs/usr
    3.20 +}
    3.21 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/mpfr/receipt	Wed Apr 09 00:36:02 2008 +0200
     4.3 @@ -0,0 +1,32 @@
     4.4 +# SliTaz package receipt
     4.5 +
     4.6 +PACKAGE="mpfr"
     4.7 +VERSION="2.3.1"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="C library for multiple-precision floating-point computations."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +DEPENDS="make"
    4.12 +BUILD_DEPENDS="glibc-dev make"
    4.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.14 +WEB_SITE="http://www.mpfr.org/"
    4.15 +WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
    4.16 +
    4.17 +# Rules to configure and make the package.
    4.18 +compile_rules()
    4.19 +{	
    4.20 +	cd $src
    4.21 +	./configure \
    4.22 +		--prefix=/usr \
    4.23 +		--infodir=/usr/share/info \
    4.24 +		$CONFIGURE_ARGS
    4.25 +	make
    4.26 +	make DESTDIR=$PWD/_pkg install
    4.27 +}
    4.28 +
    4.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.30 +genpkg_rules()
    4.31 +{
    4.32 +	mkdir -p $fs/usr/lib
    4.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    4.34 +}
    4.35 +