diff options
author | David Seifert <soap@gentoo.org> | 2017-12-28 12:51:02 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-28 13:03:22 +0100 |
commit | 8665bb46529b55d607736bd3d023f04d2e88a02b (patch) | |
tree | 3ad4c2f765371b32157ead171fb0025e99ef86ba /app-crypt/codegroup/codegroup-20080907-r1.ebuild | |
parent | app-cdr/cuegen: Port to EAPI 6 (diff) | |
download | gentoo-8665bb46529b55d607736bd3d023f04d2e88a02b.tar.gz gentoo-8665bb46529b55d607736bd3d023f04d2e88a02b.tar.bz2 gentoo-8665bb46529b55d607736bd3d023f04d2e88a02b.zip |
app-crypt/codegroup: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-crypt/codegroup/codegroup-20080907-r1.ebuild')
-rw-r--r-- | app-crypt/codegroup/codegroup-20080907-r1.ebuild | 21 |
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} } |