summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-12-22 09:41:59 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-12-22 09:41:59 +0000
commit645b9cf627e792a03da70f3fcb51afe97c601d3c (patch)
tree8efb436fdfd75969e0ee9faa5028b4a9bc887678 /dev-libs/mpfr
parentVersion bump. (diff)
downloadgentoo-2-645b9cf627e792a03da70f3fcb51afe97c601d3c.tar.gz
gentoo-2-645b9cf627e792a03da70f3fcb51afe97c601d3c.tar.bz2
gentoo-2-645b9cf627e792a03da70f3fcb51afe97c601d3c.zip
version bump. seems to be simple bug fixes but masked for further testing on all gcc versions
(Portage version: 2.1.2_rc3-r9)
Diffstat (limited to 'dev-libs/mpfr')
-rw-r--r--dev-libs/mpfr/ChangeLog8
-rw-r--r--dev-libs/mpfr/files/digest-mpfr-2.2.13
-rw-r--r--dev-libs/mpfr/mpfr-2.2.1.ebuild51
3 files changed, 61 insertions, 1 deletions
diff --git a/dev-libs/mpfr/ChangeLog b/dev-libs/mpfr/ChangeLog
index 44d56e1f7d65..fc5c6ac31631 100644
--- a/dev-libs/mpfr/ChangeLog
+++ b/dev-libs/mpfr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/mpfr
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.36 2006/12/22 09:10:07 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.37 2006/12/22 09:41:59 dragonheart Exp $
+
+*mpfr-2.2.1 (22 Dec 2006)
+
+ 22 Dec 2006; Daniel Black <dragonheart@gentoo.org> +mpfr-2.2.1.ebuild:
+ version bump. seems to be simple bug fixes but masked for further testing on
+ all gcc versions
22 Dec 2006; Daniel Black <dragonheart@gentoo.org> -mpfr-2.2.0_p12.ebuild,
-mpfr-2.2.0_p14.ebuild, mpfr-2.2.0_p16.ebuild:
diff --git a/dev-libs/mpfr/files/digest-mpfr-2.2.1 b/dev-libs/mpfr/files/digest-mpfr-2.2.1
new file mode 100644
index 000000000000..d2fa709152b3
--- /dev/null
+++ b/dev-libs/mpfr/files/digest-mpfr-2.2.1
@@ -0,0 +1,3 @@
+MD5 40bf06f8081461d8db7d6f4ad5b9f6bd mpfr-2.2.1.tar.bz2 787634
+RMD160 cb4c24dc356412e3bae30242f426a2a02d146d04 mpfr-2.2.1.tar.bz2 787634
+SHA256 92e2fea0eefd3d50b8e762334326657bfc5be9a6bda58cfa724b2a5cba9f65e4 mpfr-2.2.1.tar.bz2 787634
diff --git a/dev-libs/mpfr/mpfr-2.2.1.ebuild b/dev-libs/mpfr/mpfr-2.2.1.ebuild
new file mode 100644
index 000000000000..523248b21fd3
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-2.2.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.2.1.ebuild,v 1.1 2006/12/22 09:41:59 dragonheart Exp $
+
+inherit eutils flag-o-matic autotools
+
+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-current/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2"
+
+S="${WORKDIR}"/${MY_P}
+
+#src_unpack() {
+# unpack "${MY_P}.tar.bz2"
+# cd "${S}"
+# 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
+#}
+
+src_compile() {
+ econf \
+ --enable-shared \
+ --enable-static \
+ || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+ dohtml *.html
+}