mail-filter/libsieve: Bump to EAPI 7
authorMichał Górny <mgorny@gentoo.org>
Wed, 6 Nov 2019 10:15:00 +0000 (11:15 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 6 Nov 2019 10:16:32 +0000 (11:16 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
mail-filter/libsieve/libsieve-2.2.7.ebuild

index 9d0a996a540392a075eab5c6c3bd1469ff3ac1ff..828b84ce2820775806dde7fb514ae082ed32cd51 100644 (file)
@@ -1,27 +1,18 @@
-# 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
 
 DESCRIPTION="A library for parsing, sorting and filtering your mail"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 HOMEPAGE="http://libsieve.sourceforge.net/"
 
 SLOT="0"
-LICENSE="MIT LGPL-2"
+LICENSE="MIT LGPL-2.1"
 KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
 IUSE=""
 
 DEPEND=""
 RDEPEND="!<net-mail/mailutils-2.1"
 
-src_compile() {
-       cd "${S}"/src
-       econf || die "econf failed"
-       emake || die "emake failed"
-}
-
-src_install () {
-       cd "${S}"/src
-       emake DESTDIR="${D}" install || die "emake install failed"
-}
+S=${WORKDIR}/${P}/src