diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2012-09-03 20:47:07 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2012-09-03 20:47:07 +0000 |
commit | c780624bb743a25691570cca644b82bc1aa8d59b (patch) | |
tree | a93ad7b8dda67d87b79842c2e9924aa3242ef747 /dev-libs | |
parent | Version bump, bug 433744. (diff) | |
download | gentoo-2-c780624bb743a25691570cca644b82bc1aa8d59b.tar.gz gentoo-2-c780624bb743a25691570cca644b82bc1aa8d59b.tar.bz2 gentoo-2-c780624bb743a25691570cca644b82bc1aa8d59b.zip |
Version bump.
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/mpc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/mpc/mpc-1.0.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-libs/mpc/ChangeLog b/dev-libs/mpc/ChangeLog index a5e868e41eb7..d6b85a389137 100644 --- a/dev-libs/mpc/ChangeLog +++ b/dev-libs/mpc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/mpc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/ChangeLog,v 1.32 2012/04/26 14:39:36 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/ChangeLog,v 1.33 2012/09/03 20:47:07 dirtyepic Exp $ + +*mpc-1.0 (03 Sep 2012) + + 03 Sep 2012; Ryan Hill <dirtyepic@gentoo.org> +mpc-1.0.ebuild: + Version bump. 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> mpc-0.9-r1.ebuild: keyword ~amd64-fbsd diff --git a/dev-libs/mpc/mpc-1.0.ebuild b/dev-libs/mpc/mpc-1.0.ebuild new file mode 100644 index 000000000000..aa7bf0d1f01b --- /dev/null +++ b/dev-libs/mpc/mpc-1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/mpc-1.0.ebuild,v 1.1 2012/09/03 20:47:07 dirtyepic Exp $ + +# Unconditional dependency of gcc. Keep this set to 0. +EAPI="0" + +inherit eutils libtool multilib + +DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding." +HOMEPAGE="http://mpc.multiprecision.org/" +SRC_URI="http://www.multiprecision.org/mpc/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +DEPEND=">=dev-libs/gmp-4.3.2 + >=dev-libs/mpfr-2.4.2" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + elibtoolize # for FreeMiNT, bug #347317 +} + +src_compile() { + econf $(use_enable static-libs static) || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + use static-libs || rm "${ED:-${D}}"/usr/lib*/libmpc.la + dodoc ChangeLog NEWS README TODO +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libmpc.so.2 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libmpc.so.2 +} |