diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-11-10 14:36:36 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-11-10 14:36:36 +0000 |
commit | 0c4914006258946c38c60b400ed1d100825299f2 (patch) | |
tree | 2a62078a9aac2b086fa4039b74c111eb565e8cb3 | |
parent | amd64 stable (diff) | |
download | gentoo-2-0c4914006258946c38c60b400ed1d100825299f2.tar.gz gentoo-2-0c4914006258946c38c60b400ed1d100825299f2.tar.bz2 gentoo-2-0c4914006258946c38c60b400ed1d100825299f2.zip |
Version bump
(Portage version: 2.1.3.19)
-rw-r--r-- | dev-libs/crypto++/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/crypto++/crypto++-5.5.2.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/crypto++/files/digest-crypto++-5.5.2 | 3 |
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-libs/crypto++/ChangeLog b/dev-libs/crypto++/ChangeLog index 3eb207597727..5571abe4784d 100644 --- a/dev-libs/crypto++/ChangeLog +++ b/dev-libs/crypto++/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/crypto++ # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.32 2007/08/25 17:15:36 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.33 2007/11/10 14:36:36 alonbl Exp $ + +*crypto++-5.5.2 (10 Nov 2007) + + 10 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org> +crypto++-5.5.2.ebuild: + Version bump 25 Aug 2007; Steve Dibb <beandog@gentoo.org> crypto++-5.4-r1.ebuild: amd64 stable diff --git a/dev-libs/crypto++/crypto++-5.5.2.ebuild b/dev-libs/crypto++/crypto++-5.5.2.ebuild new file mode 100644 index 000000000000..df77863d5545 --- /dev/null +++ b/dev-libs/crypto++/crypto++-5.5.2.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/dev-libs/crypto++/crypto++-5.5.2.ebuild,v 1.1 2007/11/10 14:36:36 alonbl Exp $ + +inherit flag-o-matic eutils toolchain-funcs multilib + +DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes" +HOMEPAGE="http://cryptopp.com" +SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip" + +LICENSE="cryptopp" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +DEPEND="app-arch/unzip" +RDEPEND="" +IUSE="" + +S="${WORKDIR}" + +src_compile() { + # -O3 causes segfaults + replace-flags -O3 -O2 + filter-flags -fomit-frame-pointer + emake -f GNUmakefile \ + CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" || die +} + +src_test() { + # make sure all test vectors have unix line endings + for f in TestVectors/* ; do + edos2unix $f + done + + if ! ./cryptest.exe v; then + eerror "crypto++ self-tests failed" + eerror "Try to remove some optimization flags and re-emerge" + die + fi; +} + +src_install() { + # For consistency across GNU/Linux distributions, + # "crypto++" has been preferred over "crytopp"... + newlib.a libcryptopp.a libcrypto++.a + # ...unbreak programs which don't expect this + dosym libcrypto++.a /usr/$(get_libdir)/libcryptopp.a + insinto /usr/include/crypto++ + doins *.h + # should the .exe extension be removed?? + dobin cryptest.exe + # unbreak programs which expect cryptopp + into /usr/include + dosym crypto++ /usr/include/cryptopp +} diff --git a/dev-libs/crypto++/files/digest-crypto++-5.5.2 b/dev-libs/crypto++/files/digest-crypto++-5.5.2 new file mode 100644 index 000000000000..377d41bffdc7 --- /dev/null +++ b/dev-libs/crypto++/files/digest-crypto++-5.5.2 @@ -0,0 +1,3 @@ +MD5 a889be9d9ad5c202c925fb105caa4857 cryptopp552.zip 992073 +RMD160 8929795b654d7186b2b38714d22a57ea01862dbd cryptopp552.zip 992073 +SHA256 078f8deb033e2619582b4e9e462bbac5127b0defbcfea49c3583be31f940a759 cryptopp552.zip 992073 |