commit:     505868bf09a66239b2f2959a7b00c419855df02b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 23:31:16 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 23:31:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=505868bf

app-containers/catatonit: use autotools.eclass

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-containers/catatonit/catatonit-0.1.7.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-containers/catatonit/catatonit-0.1.7.ebuild 
b/app-containers/catatonit/catatonit-0.1.7.ebuild
index 0da65b484e47..376e881e4ac9 100644
--- a/app-containers/catatonit/catatonit-0.1.7.ebuild
+++ b/app-containers/catatonit/catatonit-0.1.7.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit autotools
+
 DESCRIPTION="A container init that is so simple it's effectively brain-dead"
 HOMEPAGE="https://github.com/openSUSE/catatonit";
 SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
@@ -12,11 +14,12 @@ LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
 
-PATCHES=("${DISTDIR}/${P}-automake.patch")
+PATCHES=( "${DISTDIR}/${P}-automake.patch" )
 
-src_configure() {
-       ./autogen.sh || die
+src_prepare() {
        default
+
+       eautoreconf
 }
 
 src_install() {

Reply via email to