commit: 782cf2af7b47294a37c66679266bff6f17223bb1 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> AuthorDate: Sun Mar 19 17:16:22 2017 +0000 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> CommitDate: Sun Mar 19 17:19:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782cf2af
dev-libs/libgcrypt: bump eapi Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild b/dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild index fa154704c26..8ada6dad282 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -AUTOTOOLS_AUTORECONF=1 +EAPI=6 -inherit autotools-multilib +inherit autotools multilib-minimal DESCRIPTION="General purpose crypto library based on the code used in GnuPG" HOMEPAGE="http://www.gnupg.org/" @@ -23,15 +22,18 @@ RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND}" -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) - PATCHES=( "${FILESDIR}"/${PN}-1.5.0-uscore.patch "${FILESDIR}"/${PN}-multilib-syspath.patch "${FILESDIR}"/${PN}-1.5.4-clang-arm.patch ) -src_configure() { +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { local myeconfargs=( --disable-padlock-support # bug 201917 --disable-dependency-tracking @@ -47,11 +49,11 @@ src_configure() { $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") ) - autotools-multilib_src_configure + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } -src_install() { - autotools-multilib_src_install +multilib_src_install() { + emake DESTDIR="${D}" install rm -r "${ED%/}"/usr/{bin,include,lib*/*.so,share} || die }
