summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-11-17 15:16:56 -0700
committerTim Harder <radhermit@gentoo.org>2019-11-17 15:16:56 -0700
commit12ee25c79597ee3fd31c56c06379db63a3852333 (patch)
treebb89854696a3080ead33913b90bd5b5b052e66f9 /dev-libs
parentapp-backup/bup: drop myself as a maintainer (diff)
downloadgentoo-12ee25c79597ee3fd31c56c06379db63a3852333.tar.gz
gentoo-12ee25c79597ee3fd31c56c06379db63a3852333.tar.bz2
gentoo-12ee25c79597ee3fd31c56c06379db63a3852333.zip
dev-libs/rremove: update to EAPI 7
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/rremove/rremove-1.0.5.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/dev-libs/rremove/rremove-1.0.5.ebuild b/dev-libs/rremove/rremove-1.0.5.ebuild
index d2f3c32d9e53..ff834f43a16e 100644
--- a/dev-libs/rremove/rremove-1.0.5.ebuild
+++ b/dev-libs/rremove/rremove-1.0.5.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
-
-inherit autotools-utils
+EAPI=7
DESCRIPTION="A simple library to recursively delete non-empty directories"
HOMEPAGE="https://frigidcode.com/code/rremove/"
@@ -13,3 +11,12 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || find "${ED}" -name '*.la' -delete
+}