diff options
Diffstat (limited to 'dev-libs/crypto++/crypto++-5.1-r1.ebuild')
-rw-r--r-- | dev-libs/crypto++/crypto++-5.1-r1.ebuild | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-libs/crypto++/crypto++-5.1-r1.ebuild b/dev-libs/crypto++/crypto++-5.1-r1.ebuild deleted file mode 100644 index 59aa259cd880..000000000000 --- a/dev-libs/crypto++/crypto++-5.1-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.1-r1.ebuild,v 1.8 2004/11/04 10:05:17 dragonheart 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 - mirror://gentoo/distfiles/crypto++-gcc-3.4.diff.bz2" - -LICENSE="cryptopp" -SLOT="0" -KEYWORDS="x86 ~ppc ~amd64" -DEPEND="app-arch/zip" -RDEPEND="" -IUSE="" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/crypto++-5.1-amd64.diff - - unpack crypto++-gcc-3.4.diff.bz2 - epatch crypto++-gcc-3.4.diff -} - -src_compile() { - - emake -f GNUmakefile CXXFLAGS="${CXXFLAGS}" || 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 -} |