diff options
Diffstat (limited to 'app-crypt/codegroup')
-rw-r--r-- | app-crypt/codegroup/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/codegroup/codegroup-20080907-r1.ebuild | 34 | ||||
-rw-r--r-- | app-crypt/codegroup/files/codegroup-20080907-Makefile.patch | 20 | ||||
-rw-r--r-- | app-crypt/codegroup/metadata.xml | 9 |
4 files changed, 64 insertions, 0 deletions
diff --git a/app-crypt/codegroup/Manifest b/app-crypt/codegroup/Manifest new file mode 100644 index 000000000000..60a9d07905ae --- /dev/null +++ b/app-crypt/codegroup/Manifest @@ -0,0 +1 @@ +DIST codegroup-20080907.zip 69123 SHA256 fe0dfb5b320b97afd0b639c76a796426bcad50a33a05399ecddde0189133b45b SHA512 3cf7816fe1c4c3b70cabb6e8518f6057cd04e735bef5569aff4b8753005ab33e5c4ac80bc434a45fef75267964ffe25fbfae9d72cffe6db075b4cafeb2b80e93 WHIRLPOOL 16e2e437bdb7b56e0c0d8990edb5071d24ee2f51920a9239c96a2c04f57be7fc42600baff4a0d9a7f835db957a8000576e1a96f1b51ab3944ef07117faf25cbc diff --git a/app-crypt/codegroup/codegroup-20080907-r1.ebuild b/app-crypt/codegroup/codegroup-20080907-r1.ebuild new file mode 100644 index 000000000000..f019f7e1c442 --- /dev/null +++ b/app-crypt/codegroup/codegroup-20080907-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="encode / decode binary file as five letter codegroups" +HOMEPAGE="http://www.fourmilab.ch/codegroup/" +SRC_URI="http://www.fourmilab.ch/${PN}/${PN}.zip -> ${P}.zip" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + dobin ${PN} || die + + doman ${PN}.1 || die + dodoc ${PN}.{html,jpg} || die +} diff --git a/app-crypt/codegroup/files/codegroup-20080907-Makefile.patch b/app-crypt/codegroup/files/codegroup-20080907-Makefile.patch new file mode 100644 index 000000000000..4fabba6cb3c6 --- /dev/null +++ b/app-crypt/codegroup/files/codegroup-20080907-Makefile.patch @@ -0,0 +1,20 @@ +--- codegroup-20080907/work/Makefile ++++ codegroup-20080907/work/Makefile +@@ -1,6 +1,7 @@ + + PROGS = codegroup +-CFLAGS = -O -Wall ++CFLAGS = ++LDFLAGS = + PAGER = more + + all: $(PROGS) +@@ -9,7 +10,7 @@ + rm -f $(PROGS) *.o *.bak *.zip core code.* *.out + + codegroup: codegroup.o +- $(CC) codegroup.o -o codegroup $(CFLAGS) ++ $(CC) codegroup.o -o codegroup $(CFLAGS) $(LDFLAGS) + + # Create zipped archive + diff --git a/app-crypt/codegroup/metadata.xml b/app-crypt/codegroup/metadata.xml new file mode 100644 index 000000000000..59acc2cc580e --- /dev/null +++ b/app-crypt/codegroup/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + |