commit:     11aef639eb4ddc931508d288bbcff22961486ddb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 19:11:20 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 19:26:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11aef639

net-mail/vqadmin: Bump to EAPI 7

Bug: https://bugs.gentoo.org/697246
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-mail/vqadmin/vqadmin-2.3.7.ebuild | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/net-mail/vqadmin/vqadmin-2.3.7.ebuild 
b/net-mail/vqadmin/vqadmin-2.3.7.ebuild
index 71d0578aaaa..50516805cf5 100644
--- a/net-mail/vqadmin/vqadmin-2.3.7.ebuild
+++ b/net-mail/vqadmin/vqadmin-2.3.7.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
-inherit webapp eutils autotools qmail
+inherit webapp autotools qmail
 
-DESCRIPTION="A web based control pannel to manage Virtual Qmail Domains. Works 
with qmailadmin"
+DESCRIPTION="A web based control pannel to manage Virtual Qmail Domains"
 HOMEPAGE="http://www.inter7.com/index.php?page=vqadmin";
 SRC_URI="http://www.inter7.com/vqadmin/${P}.tar.gz";
 
@@ -20,9 +20,8 @@ DEPEND="virtual/qmail
 RDEPEND="${DEPEND}
        net-mail/qmailadmin"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
+src_prepare() {
+       default
 
        # fixes for sane webapp integration
        sed -i \
@@ -30,18 +29,15 @@ src_unpack() {
                -e "s|/images/vqadmin/|/vqadmin/|g" \
                -e "s|/cgi-bin/vqadmin/|/cgi-bin/|g" \
                -e "s|vqadmin\.cgi|vqadmin|g" \
-               *.h *.c html/*.html
+               *.h *.c html/*.html || die
 }
 
-src_compile() {
-       econf ${myopts} \
+src_configure() {
+       econf \
                --enable-qmaildir="${QMAIL_HOME}" \
                --enable-vpopuser=vpopmail \
                --enable-vpopgroup=vpopmail \
-               --enable-cgibindir="${MY_CGIBINDIR}" \
-       || die "econf failed"
-
-       emake || die "make failed"
+               --enable-cgibindir="${MY_CGIBINDIR}"
 }
 
 src_install () {

Reply via email to