summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/codegroup/codegroup-20080907-r1.ebuild')
-rw-r--r--app-crypt/codegroup/codegroup-20080907-r1.ebuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/app-crypt/codegroup/codegroup-20080907-r1.ebuild b/app-crypt/codegroup/codegroup-20080907-r1.ebuild
index 182c7ef8e455..cf15b9cc4d11 100644
--- a/app-crypt/codegroup/codegroup-20080907-r1.ebuild
+++ b/app-crypt/codegroup/codegroup-20080907-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
+EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="encode / decode binary file as five letter codegroups"
HOMEPAGE="http://www.fourmilab.ch/codegroup/"
@@ -17,17 +17,16 @@ IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
-src_prepare() {
- epatch "${FILESDIR}"/${P}-Makefile.patch
-}
+S=${WORKDIR}
+PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
+src_configure() {
+ tc-export CC
}
src_install() {
- dobin ${PN} || die
+ dobin ${PN}
- doman ${PN}.1 || die
- dodoc ${PN}.{html,jpg} || die
+ doman ${PN}.1
+ dodoc ${PN}.{html,jpg}
}