commit:     84dd58cfcc9ed99a66c11468e3c6aa15791fe596
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 07:40:04 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 08:21:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84dd58cf

dev-libs/crypto++: cleanup

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-libs/crypto++/crypto++-5.6.5.ebuild | 59 ---------------------------------
 1 file changed, 59 deletions(-)

diff --git a/dev-libs/crypto++/crypto++-5.6.5.ebuild 
b/dev-libs/crypto++/crypto++-5.6.5.ebuild
deleted file mode 100644
index abee795257b..00000000000
--- a/dev-libs/crypto++/crypto++-5.6.5.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="C++ class library of cryptographic schemes"
-HOMEPAGE="http://cryptopp.com";
-SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip";
-
-LICENSE="Boost-1.0"
-SLOT="0/5.6" # subslot is so version
-KEYWORDS="alpha amd64 ~arm arm64 hppa ppc ppc64 sparc x86 ~x64-macos"
-IUSE="static-libs"
-
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-5.6.4-nonative.patch"
-)
-
-pkg_setup() {
-       export CXX="$(tc-getCXX)"
-       export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-       export PREFIX="${EPREFIX}/usr"
-}
-
-src_compile() {
-       # higher optimizations cause problems
-       replace-flags -O3 -O2
-       # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
-       [[ ${CHOST} == *-darwin* ]] && append-cxxflags -DCRYPTOPP_DISABLE_ASM
-
-       emake -f GNUmakefile all shared
-}
-
-src_install() {
-       default
-
-       # remove leftovers as build system sucks
-       rm -fr "${ED}"/usr/bin "${ED}"/usr/share/cryptopp
-       use static-libs || rm -f "${ED}${EPREFIX}"/usr/$(get_libdir)/*.a
-
-       # compatibility
-       dosym cryptopp "${EPREFIX}"/usr/include/crypto++
-       for f in "${ED}${EPREFIX}"/usr/$(get_libdir)/*; do
-               ln -s "$(basename "${f}")" "$(echo "${f}" | sed 
's/cryptopp/crypto++/')" || die
-       done
-}
-
-pkg_preinst() {
-       # we switched directory to symlink
-       # make sure portage digests that
-       rm -fr "${EROOT}/usr/include/crypto++"
-       rm -fr "${EROOT}/usr/include/cryptopp"
-}

Reply via email to