dev-libs/libgcrypt: bump eapi
authorAlon Bar-Lev <alonbl@gentoo.org>
Sun, 19 Mar 2017 17:16:22 +0000 (19:16 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sun, 19 Mar 2017 17:19:11 +0000 (19:19 +0200)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-libs/libgcrypt/libgcrypt-1.5.6-r101.ebuild

index fa154704c266c2fdb1a94720cc651e636ad8691c..8ada6dad28264d35a5c50405f479651177bc44d5 100644 (file)
@@ -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
 }