commit:     7eaea2618cf3521dfc8b54a5510cd41b11f52315
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  8 12:48:26 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Oct  8 12:48:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eaea261

app-backup/hdup: update EAPI 6 -> 8

Closes: https://bugs.gentoo.org/906003
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...hdup-2.0.14-r1.ebuild => hdup-2.0.14-r2.ebuild} | 23 +++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/app-backup/hdup/hdup-2.0.14-r1.ebuild 
b/app-backup/hdup/hdup-2.0.14-r2.ebuild
similarity index 78%
rename from app-backup/hdup/hdup-2.0.14-r1.ebuild
rename to app-backup/hdup/hdup-2.0.14-r2.ebuild
index 57fb577b246c..ca5c1321e197 100644
--- a/app-backup/hdup/hdup-2.0.14-r1.ebuild
+++ b/app-backup/hdup/hdup-2.0.14-r2.ebuild
@@ -1,7 +1,9 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
+inherit autotools
 
 DESCRIPTION="Hdup is backup program using tar, find, gzip/bzip2, mcrypt and 
ssh"
 HOMEPAGE="http://www.miek.nl/projects/hdup2/index.html";
@@ -12,30 +14,33 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="crypt"
 
-CDEPEND="
+DEPEND="
        app-arch/bzip2
        app-arch/gzip
        app-arch/tar
        >=dev-libs/glib-2.0"
 RDEPEND="
-       ${CDEPEND}
+       ${DEPEND}
        virtual/openssh
        sys-apps/coreutils
        sys-apps/findutils
        crypt? ( app-crypt/mcrypt )"
-DEPEND="
-       ${CDEPEND}
-       virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
 
-PATCHES=( "${FILESDIR}"/${PN}-2.0.14-fix-build-system.patch )
+PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
+
+src_prepare() {
+       default
+       eautoconf # bug 906003
+}
 
 src_install() {
        HTML_DOCS=( doc/FAQ.html )
        default
-       dodoc Credits
+       dodoc -r Credits examples
 
        insinto /usr/share/${PN}
-       doins -r contrib examples
+       doins -r contrib
 }
 
 pkg_postinst() {

Reply via email to