diff options
Diffstat (limited to 'app-crypt/mhash/mhash-0.9.9.9-r2.ebuild')
-rw-r--r-- | app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild deleted file mode 100644 index 55e78bbb25fe..000000000000 --- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Library providing a uniform interface to a large number of hash algorithms" -HOMEPAGE="http://mhash.sourceforge.net/" -SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -BDEPEND="dev-lang/perl" # pod2html - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.9-fix-mem-leak.patch - "${FILESDIR}"/${PN}-0.9.9-fix-snefru-segfault.patch - "${FILESDIR}"/${PN}-0.9.9-fix-whirlpool-segfault.patch - "${FILESDIR}"/${PN}-0.9.9-autotools-namespace-stomping.patch - "${FILESDIR}"/${P}-remove_premature_free.patch - "${FILESDIR}"/${P}-force64bit-tiger.patch - "${FILESDIR}"/${P}-align.patch - "${FILESDIR}"/${P}-alignment.patch -) - -DOCS=( doc/example.c doc/skid2-authentication ) - -HTML_DOCS=( doc/mhash.html ) - -src_prepare() { - default - - sed -i \ - -e 's/--netscape//' \ - "${S}"/doc/Makefile.in || die - - # Refresh bundled libtool (ltmain.sh) - # (elibtoolize is not sufficient) - # bug #668666 - eautoreconf -} - -src_configure() { - # https://sourceforge.net/p/mhash/patches/11/ - export ac_cv_func_malloc_0_nonnull=yes - - econf $(use_enable static-libs static) -} - -src_compile() { - default - - emake -C doc mhash.html -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} |