summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/enum/enum-1.1-r1.ebuild (renamed from app-misc/enum/enum-1.1.ebuild)16
1 files changed, 10 insertions, 6 deletions
diff --git a/app-misc/enum/enum-1.1.ebuild b/app-misc/enum/enum-1.1-r1.ebuild
index 4b9730594095..b60c026ad95f 100644
--- a/app-misc/enum/enum-1.1.ebuild
+++ b/app-misc/enum/enum-1.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="2"
+EAPI=6
DESCRIPTION="Replacement for GNU seq and BSD jot"
HOMEPAGE="https://fedorahosted.org/enum/"
@@ -17,15 +17,19 @@ DEPEND=""
RDEPEND=""
src_prepare() {
+ default
+
# Remove bundled getopt
- rm -R thirdparty || die
+ rm -rv thirdparty || die
}
src_configure() {
- econf --disable-doc-rebuild --disable-dependency-tracking
+ econf \
+ --disable-doc-rebuild \
+ --disable-dependency-tracking
}
src_install() {
- emake DESTDIR="${D}" install || die 'emake install'
- dodoc ChangeLog || die 'dodoc failed'
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog
}