diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:19:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-14 23:22:23 +0100 |
commit | 4b19be30aa626b327c885dae62c559ec0e9fb935 (patch) | |
tree | 76e74807bc479502e13866b581b6bf86734ec634 /net-misc/hashcash/hashcash-1.22-r2.ebuild | |
parent | 30d6f67c98d149508509d5e86f176d558793acc0 (diff) |
gentoo resync : 13.10.2019
Diffstat (limited to 'net-misc/hashcash/hashcash-1.22-r2.ebuild')
-rw-r--r-- | net-misc/hashcash/hashcash-1.22-r2.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/hashcash/hashcash-1.22-r2.ebuild b/net-misc/hashcash/hashcash-1.22-r2.ebuild new file mode 100644 index 000000000000..1533c90bd7b5 --- /dev/null +++ b/net-misc/hashcash/hashcash-1.22-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Utility to generate hashcash tokens" +HOMEPAGE="http://www.hashcash.org" +SRC_URI="http://www.hashcash.org/source/${P}.tgz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +src_prepare() { + default + sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" generic || die +} + +src_install() { + dobin hashcash + doman hashcash.1 + dodoc CHANGELOG + insinto /usr/share/doc/${PF}/examples + doins contrib/hashcash-{request,sendmail{,.txt}} \ + contrib/hashfork.{c,py,txt} +} |