app-crypt/codegroup: Port to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
David Seifert
2017-12-28 12:51:02 +01:00
parent bea66b0dfb
commit 8665bb4652
3 changed files with 22 additions and 24 deletions

View File

@@ -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}
}

View File

@@ -1,20 +1,19 @@
--- codegroup-20080907/work/Makefile
+++ codegroup-20080907/work/Makefile
@@ -1,6 +1,7 @@
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
PROGS = codegroup
-CFLAGS = -O -Wall
+CFLAGS =
+LDFLAGS =
PAGER = more
all: $(PROGS)
@@ -9,7 +10,7 @@
@@ -8,9 +7,6 @@
clean:
rm -f $(PROGS) *.o *.bak *.zip core code.* *.out
codegroup: codegroup.o
-codegroup: codegroup.o
- $(CC) codegroup.o -o codegroup $(CFLAGS)
+ $(CC) codegroup.o -o codegroup $(CFLAGS) $(LDFLAGS)
-
# Create zipped archive
RELFILES = Makefile codegroup.1 codegroup.c \

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
<maintainer type="person">
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
</pkgmetadata>