diff options
Diffstat (limited to 'sci-mathematics/freemat')
-rw-r--r-- | sci-mathematics/freemat/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/freemat/Manifest | 26 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/digest-freemat-3.3 | 3 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-3.3-pointer.patch | 11 | ||||
-rw-r--r-- | sci-mathematics/freemat/freemat-3.3.ebuild | 56 |
5 files changed, 96 insertions, 8 deletions
diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog index a03da0669889..d6e676489ff2 100644 --- a/sci-mathematics/freemat/ChangeLog +++ b/sci-mathematics/freemat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/freemat # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.1 2007/08/01 22:46:32 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.2 2007/08/13 15:16:24 bicatali Exp $ + +*freemat-3.3 (13 Aug 2007) + + 13 Aug 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/freemat-3.3-pointer.patch, +freemat-3.3.ebuild: + Version bump *freemat-3.2 (01 Aug 2007) diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest index 030964616cda..6ee505f57379 100644 --- a/sci-mathematics/freemat/Manifest +++ b/sci-mathematics/freemat/Manifest @@ -1,15 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX freemat-3.3-pointer.patch 344 RMD160 1ba5309266ccf2620a39062a5e974bfc44838f19 SHA1 f525818620ef116e84e02c30d15f79b329f39603 SHA256 0b9326cebef585892d8ce332162bb578f2dc7ea59f5ef583c515f9dec98a1bf7 +MD5 d121631fd152ddc7a817b231c6af55e3 files/freemat-3.3-pointer.patch 344 +RMD160 1ba5309266ccf2620a39062a5e974bfc44838f19 files/freemat-3.3-pointer.patch 344 +SHA256 0b9326cebef585892d8ce332162bb578f2dc7ea59f5ef583c515f9dec98a1bf7 files/freemat-3.3-pointer.patch 344 DIST FreeMat-3.2.tar.gz 5265284 RMD160 5c7031ad8a4ea49c0f5f1b6e8cb2ae58094e4c1e SHA1 69bae1a08034d0624d2fb0bff76a3644fd256328 SHA256 59496c7275d704149f2f19584c63f0abf38d48b1a143b3665e4553d1bd81e545 +DIST FreeMat-3.3.tar.gz 5853012 RMD160 c92aca682552c639ee8ea8104d02482b246d17ff SHA1 05c386634792fdb28933a8444952e4ee49feead4 SHA256 ba83b6119561ed5df0d2799115254c584b72f66afb26b239ee054de49b1b7706 EBUILD freemat-3.2.ebuild 1218 RMD160 8b04ad0ba56fd6b1dc08cf5c4afb04c55471cd46 SHA1 e78a09fb4e8b7cd752d74bf722a8c67b5c855bcc SHA256 e1d6d0eef7b7e37f3c837b2691d6703ccbd0b8f3214796ecd1a0ecdf75873488 MD5 891f373e8f5c971901a89c63d77e0907 freemat-3.2.ebuild 1218 RMD160 8b04ad0ba56fd6b1dc08cf5c4afb04c55471cd46 freemat-3.2.ebuild 1218 SHA256 e1d6d0eef7b7e37f3c837b2691d6703ccbd0b8f3214796ecd1a0ecdf75873488 freemat-3.2.ebuild 1218 -MISC ChangeLog 507 RMD160 795fff7b9c3d5459e64395635a27aa6fcd2efa82 SHA1 80d849cb11dc03d80ce8aaeaefee09e2cd99dd32 SHA256 a87ddab4e4f57b652676178713a07600fad1dcbebd2dea31a811ec9d4c940baa -MD5 e6ca4d46a56cc7868e343a35f8a716c6 ChangeLog 507 -RMD160 795fff7b9c3d5459e64395635a27aa6fcd2efa82 ChangeLog 507 -SHA256 a87ddab4e4f57b652676178713a07600fad1dcbebd2dea31a811ec9d4c940baa ChangeLog 507 +EBUILD freemat-3.3.ebuild 1361 RMD160 75cdb8dfdfccccbd1c6ccae08fb28731d4a16411 SHA1 18716d1991d152ee3be702b22348e47057a20b54 SHA256 d5a7eace7a3e29bef8731c1c50411c278fc10a5c745157d2103ffb9497b49bc9 +MD5 193c7fda1bd1ed6e4a83a9b30e9debe1 freemat-3.3.ebuild 1361 +RMD160 75cdb8dfdfccccbd1c6ccae08fb28731d4a16411 freemat-3.3.ebuild 1361 +SHA256 d5a7eace7a3e29bef8731c1c50411c278fc10a5c745157d2103ffb9497b49bc9 freemat-3.3.ebuild 1361 +MISC ChangeLog 663 RMD160 dd460c8de25145d34860233d6c521b62d7a2fa9e SHA1 e3415c911f974ea90fa867bac24ae6ec36cb8261 SHA256 78b02c92ea41ebc754c1d69c6f724ad84381743d8f36ad7f5dc34d542997fa78 +MD5 f5d93944b33da9b1aff52cadd18d2266 ChangeLog 663 +RMD160 dd460c8de25145d34860233d6c521b62d7a2fa9e ChangeLog 663 +SHA256 78b02c92ea41ebc754c1d69c6f724ad84381743d8f36ad7f5dc34d542997fa78 ChangeLog 663 MISC metadata.xml 633 RMD160 85beda9c9c5e814b2496e58d130395eea57c95c6 SHA1 056f84c52f0127037301cd1c9eeb2e6cb4f78e0b SHA256 849579f8debbef517f3b1c8f8de502d08c062d8011ef99231459d8cf2388bcb4 MD5 538566e4f46a298ba249d645a1e8eeeb metadata.xml 633 RMD160 85beda9c9c5e814b2496e58d130395eea57c95c6 metadata.xml 633 @@ -17,10 +26,13 @@ SHA256 849579f8debbef517f3b1c8f8de502d08c062d8011ef99231459d8cf2388bcb4 metadata MD5 7f6f5e3ef15f17eb234872a1a0293913 files/digest-freemat-3.2 238 RMD160 1a28584c0bdd2cc194954b5fbe41124938832ec1 files/digest-freemat-3.2 238 SHA256 eac98ad4cc5133c36bdc4e5fbbdb4015e60c1ea4fb96bfb642c6ad809c5fd69d files/digest-freemat-3.2 238 +MD5 c40b8a369abb32e1d867a6dd8af57604 files/digest-freemat-3.3 238 +RMD160 646515dd39c6a1524f59351fc6a4d0d42f10368a files/digest-freemat-3.3 238 +SHA256 188430502f9e5898185dee078a63efbfe616f12883993ed64789b1d32f688744 files/digest-freemat-3.3 238 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFGsQ1O1ycZbhPLE2ARApsYAJ9vxvel9jCP1Spb+kGR2RqeCmSD/gCfXM2l -SrijjFkOkH161N8F26Tw/LI= -=7DZ7 +iD8DBQFGwHXP1ycZbhPLE2ARAkWgAJ4yd2LUCUpLCIeHdlk7qBMBEZhW9ACdGlOH +nBVna/OZidtZoZExhalH/mE= +=QXCJ -----END PGP SIGNATURE----- diff --git a/sci-mathematics/freemat/files/digest-freemat-3.3 b/sci-mathematics/freemat/files/digest-freemat-3.3 new file mode 100644 index 000000000000..0e40a234a7cb --- /dev/null +++ b/sci-mathematics/freemat/files/digest-freemat-3.3 @@ -0,0 +1,3 @@ +MD5 9338ea3743a5970c8d2da23ad19ae76e FreeMat-3.3.tar.gz 5853012 +RMD160 c92aca682552c639ee8ea8104d02482b246d17ff FreeMat-3.3.tar.gz 5853012 +SHA256 ba83b6119561ed5df0d2799115254c584b72f66afb26b239ee054de49b1b7706 FreeMat-3.3.tar.gz 5853012 diff --git a/sci-mathematics/freemat/files/freemat-3.3-pointer.patch b/sci-mathematics/freemat/files/freemat-3.3-pointer.patch new file mode 100644 index 000000000000..e8e8001fe706 --- /dev/null +++ b/sci-mathematics/freemat/files/freemat-3.3-pointer.patch @@ -0,0 +1,11 @@ +--- libs/libFreeMat/Compiler.cpp.orig 2007-08-13 15:38:31.861045269 +0100 ++++ libs/libFreeMat/Compiler.cpp 2007-08-13 15:39:11.255290219 +0100 +@@ -732,7 +732,7 @@ + sprintf(buffer,"%g",topval.d); + break; + case pointer: +- sprintf(buffer,"%x",(unsigned)topval.p); ++ sprintf(buffer,"%x",(size_t)topval.p); + } + return buffer; + } diff --git a/sci-mathematics/freemat/freemat-3.3.ebuild b/sci-mathematics/freemat/freemat-3.3.ebuild new file mode 100644 index 000000000000..920112d3b75b --- /dev/null +++ b/sci-mathematics/freemat/freemat-3.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.3.ebuild,v 1.1 2007/08/13 15:16:24 bicatali Exp $ + +inherit eutils flag-o-matic autotools qt4 + +MY_PN=FreeMat +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Environment for rapid engineering and scientific prototyping and data processing" +HOMEPAGE="http://freemat.sourceforge.net/" +SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz" + +IUSE="ncurses ffcall fftw umfpack arpack" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/libpcre + virtual/lapack + dev-util/pkgconfig + ncurses? ( >=sys-libs/ncurses-5.4 ) + umfpack? ( sci-libs/umfpack ) + arpack? ( sci-libs/arpack ) + fftw? ( >=sci-libs/fftw-3 ) + portaudio? ( media-libs/portaudio )" + +RDEPEND="${DEPEND} + ffcall? ( dev-libs/ffcall )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + # fix 64bits pointer + epatch "${FILESDIR}"/${P}-pointer.patch +} + + +src_compile() { + # -O3 won't compile for freemat-3.2 + replace-flags "-O3" "-O2" + econf $(use_with ncurses) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS ChangeLog +} + +pkg_postint() { + einfo "Initializing freemat data directory" + FreeMat -i /usr/share/${MY_P} +} |