diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-03 17:43:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-03 17:43:00 +0000 |
commit | fb086edbe18a4a5b984dc47edafc07e6457e0ce7 (patch) | |
tree | 0709c4cf4020c2e9a8a7004efc8c3e7885a20522 /dev-libs/mpfr | |
parent | Version bump, bug 384957. (diff) | |
download | historical-fb086edbe18a4a5b984dc47edafc07e6457e0ce7.tar.gz historical-fb086edbe18a4a5b984dc47edafc07e6457e0ce7.tar.bz2 historical-fb086edbe18a4a5b984dc47edafc07e6457e0ce7.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/mpfr')
-rw-r--r-- | dev-libs/mpfr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/mpfr/Manifest | 10 | ||||
-rw-r--r-- | dev-libs/mpfr/mpfr-3.1.0.ebuild | 70 |
3 files changed, 82 insertions, 5 deletions
diff --git a/dev-libs/mpfr/ChangeLog b/dev-libs/mpfr/ChangeLog index 8cfd71839c6b..24e3cf21e4c4 100644 --- a/dev-libs/mpfr/ChangeLog +++ b/dev-libs/mpfr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/mpfr # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.141 2011/10/03 15:17:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.142 2011/10/03 17:43:00 vapier Exp $ + +*mpfr-3.1.0 (03 Oct 2011) + + 03 Oct 2011; Mike Frysinger <vapier@gentoo.org> +mpfr-3.1.0.ebuild: + Version bump. *mpfr-2.4.2_p3-r1 (03 Oct 2011) diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest index 40e172e88f1c..f9ee7162731d 100644 --- a/dev-libs/mpfr/Manifest +++ b/dev-libs/mpfr/Manifest @@ -14,18 +14,20 @@ AUX 3.0.1/patch04 1722 RMD160 1d084bbcc37b8c2b75d6fec93d2e57a31371c002 SHA1 8880 DIST mpfr-2.4.2.tar.bz2 1077886 RMD160 a3563baef20dab98825d90971e6a69a649f53fdf SHA1 7ca93006e38ae6e53a995af836173cf10ee7c18c SHA256 c7e75a08a8d49d2082e4caee1591a05d11b9d5627514e678f02d66a124bcf2ba DIST mpfr-3.0.0.tar.bz2 1138685 RMD160 6862412d09e1da3e1f4b023b8cfdee4d440d903e SHA1 8ae8bc72ac26a0f17ad9f57c520264c056c64770 SHA256 8f4e5f9c53536cb798a30455ac429b1f9fc75a0f8af32d6e0ac31ebf1024821f DIST mpfr-3.0.1.tar.bz2 1154306 RMD160 24c84d762428959ad2db7521df8bc219c81f83b5 SHA1 fbf402fc196724ae60ef01eb6ca8490b1ea4db69 SHA256 e1977099bb494319c0f0c1f85759050c418a56884e9c6cef1c540b9b13e38e7f +DIST mpfr-3.1.0.tar.bz2 1203891 RMD160 e0b803880f38f28ac89cf286c41c3dfbc918e5da SHA1 9ba6dfe62dad298f0570daf182db31660f7f016c SHA256 74a7bbbad168dd1cc414f1c9210b8fc16ccfc8e422d34b3371a8978e31eab680 EBUILD mpfr-2.4.2_p3-r1.ebuild 1102 RMD160 7937de41668c29bf50ceab92a9962e2e8d1e97bb SHA1 85a90a5a98d8eb0ea60dbb459d74643248bf6f9c SHA256 5e75ceabd7481a7824ade5daaf3f4b1b798c4e8d022d95127a25119f76968851 EBUILD mpfr-2.4.2_p3.ebuild 1601 RMD160 182b7d499557a2b0f5004ed102df868e0dabddd8 SHA1 3442767169eb53890a84fd60e93ae172d4787c88 SHA256 2d8ee53ec3386fbdbedd4612e4465c8d0a0a7c97368d78b9e68905d4ececaf4c EBUILD mpfr-3.0.0_p3.ebuild 1748 RMD160 e5bf93a0874bdb2fe5b7bf8f641d5d082785fba1 SHA1 11d26e3ea339c458a8eddcadc362e133162af027 SHA256 f161f9a16d002a5389ca48edd8678e1b44ccd00fda9b8c9a1c01981cfbe6ec11 EBUILD mpfr-3.0.1.ebuild 1756 RMD160 a666b47eb67175f557e2bef87cf7e55ea5efc7f6 SHA1 859fdb82ecfe04ab15042b905dc6573cef49b29f SHA256 652714b807aef27a9f57ebbae04a7d42faf9cf09f2759b53ba51e8c706da088b EBUILD mpfr-3.0.1_p4-r1.ebuild 1906 RMD160 5f858466fb0fbd43eb02817600d84b9ef7a920d5 SHA1 4792d4cc91c1d99d8898f1d9c2602d62673db787 SHA256 cdec1f946a6144163555b57c348cb19bde2295ef775312b687af08c7809a4c0a EBUILD mpfr-3.0.1_p4.ebuild 1752 RMD160 6a60556fd0d9478dde2da355b8235bc2c087a96a SHA1 18693b43431cc24fba7eddeb8d9247f8263b222a SHA256 d27757f0804ae833a880024ff34e01d8a72759085e8eadd6e7eb269864a8bf90 -MISC ChangeLog 17316 RMD160 d4281397cebd05b96dfe6a082d8a90529de90590 SHA1 d2a9a315f578e5aa6e7a67389f2516a76b7a4743 SHA256 edb55dbf87fd18df29978e0fe779227d1db2261db6bbd5bdbc6ccd4d0e221b70 +EBUILD mpfr-3.1.0.ebuild 2016 RMD160 b8032d85af6481f4ab833eaf4635e632df143ed7 SHA1 e5c0ab19f0d08dc25b112caebf8c92442072025f SHA256 b25362eccd3edc641b523a08535874ce2818927c0f6c1e8fb40612b7ec2f441a +MISC ChangeLog 17430 RMD160 d000ce8cdc833cb6fa3aa254a0cb62551477ad68 SHA1 429fe119cf90486da63330b28c753aded416c6b7 SHA256 1b63704fbd2ac0f4b05d2e6a4e34d53086c9f4e5607e1209c846516579e44227 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iF4EAREIAAYFAk6J0hEACgkQaC/OocHi7JaymQEAoBA8jcyFE5OTULlCDHke9nD1 -XQ+79OaVjUlN7Un9YdkA/AzWuvbpQl1sLeHM26VtIffab8VwQuoPiL3iUZFh0F95 -=HKyt +iF4EAREIAAYFAk6J9AgACgkQaC/OocHi7JYVcgD/YHhkt0O5zH2rT53/7LnBsADK +wx0Nm6IhPm4t/oWM3FoA+wYNyHaCOhhBZpbA/Mwhti5Z57WvG4zSXKlFVwdYlN8V +=NzOx -----END PGP SIGNATURE----- diff --git a/dev-libs/mpfr/mpfr-3.1.0.ebuild b/dev-libs/mpfr/mpfr-3.1.0.ebuild new file mode 100644 index 000000000000..ff3ec0587278 --- /dev/null +++ b/dev-libs/mpfr/mpfr-3.1.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.0.ebuild,v 1.1 2011/10/03 17:43:00 vapier Exp $ + +EAPI="3" + +# NOTE: we cannot depend on autotools here starting with gcc-4.3.x +inherit eutils multilib + +MY_PV=${PV/_p*} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" +HOMEPAGE="http://www.mpfr.org/" +SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs=]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + [[ -d ${FILESDIR}/${PV} ]] && epatch "${FILESDIR}"/${PV}/*.patch + [[ ${PLEVEL} == ${PV} ]] && return 0 + for ((i=1; i<=PLEVEL; ++i)) ; do + patch=patch$(printf '%02d' ${i}) + if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then + epatch "${FILESDIR}"/${MY_PV}/${patch} + elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then + epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i} + else + ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}" + die "patch ${i} missing - please report to bugs.gentoo.org" + fi + done + sed -i '/if test/s:==:=:' configure #261016 + find . -type f -print0 | xargs -0 touch -r configure +} + +src_configure() { + econf \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable static-libs static) +} + +src_install() { + emake install DESTDIR="${D}" || die + use static-libs || rm -f "${D}"/usr/$(get_libdir)/libmpfr.la + + # clean up html/license install + pushd "${D}"/usr/share/doc/${PF} >/dev/null + dohtml *.html && rm COPYING* *.html || die + popd >/dev/null + # some, but not all, are already installed + dodoc AUTHORS BUGS ChangeLog NEWS README TODO + prepalldocs +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1 +} |