summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2004-07-13 22:47:34 +0000
committerRyan Phillips <rphillips@gentoo.org>2004-07-13 22:47:34 +0000
commitfdfdc504a10b3cafadedfea2b673abe92269d797 (patch)
tree37789f7e3800826b45dadc818005702c6159263a /dev-libs/crypto++
parentdon't dep on arch for gnuconfig_update (Manifest recommit) (diff)
downloadgentoo-2-fdfdc504a10b3cafadedfea2b673abe92269d797.tar.gz
gentoo-2-fdfdc504a10b3cafadedfea2b673abe92269d797.tar.bz2
gentoo-2-fdfdc504a10b3cafadedfea2b673abe92269d797.zip
version bump
Diffstat (limited to 'dev-libs/crypto++')
-rw-r--r--dev-libs/crypto++/ChangeLog7
-rw-r--r--dev-libs/crypto++/crypto++-5.2.ebuild45
-rw-r--r--dev-libs/crypto++/files/digest-crypto++-5.21
3 files changed, 52 insertions, 1 deletions
diff --git a/dev-libs/crypto++/ChangeLog b/dev-libs/crypto++/ChangeLog
index 0c8c98a002b9..7a88fa7f203f 100644
--- a/dev-libs/crypto++/ChangeLog
+++ b/dev-libs/crypto++/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/crypto++
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.6 2004/06/24 23:03:41 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.7 2004/07/13 22:47:34 rphillips Exp $
+
+*crypto++-5.2 (13 Jul 2004)
+
+ 13 Jul 2004; <rphillips@gentoo.org> crypto++-5.2.ebuild:
+ version bump
01 May 2004; Aron Griffis <agriffis@gentoo.org> crypto++-5.1-r1.ebuild:
Add inherit eutils
diff --git a/dev-libs/crypto++/crypto++-5.2.ebuild b/dev-libs/crypto++/crypto++-5.2.ebuild
new file mode 100644
index 000000000000..f006b843a1ef
--- /dev/null
+++ b/dev-libs/crypto++/crypto++-5.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.2.ebuild,v 1.1 2004/07/13 22:47:34 rphillips Exp $
+
+inherit flag-o-matic eutils
+
+#-O3 causes segfaults
+replace-flags -O3 -O2
+
+DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes"
+HOMEPAGE="http://cryptopp.com"
+SRC_URI="mirror://sourceforge/cryptopp/crypto${PV//.}.zip"
+
+LICENSE="cryptopp"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+S=${WORKDIR}
+
+src_compile() {
+
+ emake -f GNUmakefile || die
+ 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/lib/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.2 b/dev-libs/crypto++/files/digest-crypto++-5.2
new file mode 100644
index 000000000000..d722342b1fac
--- /dev/null
+++ b/dev-libs/crypto++/files/digest-crypto++-5.2
@@ -0,0 +1 @@
+MD5 5c09d632ef36e889f1727fb50cb21c4d crypto52.zip 1045252