/[gentoo-x86]/net-misc/hashcash/hashcash-1.22-r1.ebuild
Gentoo

Contents of /net-misc/hashcash/hashcash-1.22-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Sep 23 19:36:36 2009 UTC (10 years, 3 months ago) by patrick
Branch: MAIN
Changes since 1.1: +3 -3 lines
Remove virtual/libc
(Portage version: 2.2_rc41/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/hashcash-1.22-r1.ebuild,v 1.1 2006/10/07 20:52:35 kloeri Exp $
4
5 inherit eutils toolchain-funcs
6
7 IUSE=""
8 DESCRIPTION="Utility to generate hashcash tokens"
9 HOMEPAGE="http://www.hashcash.org"
10 SRC_URI="http://www.hashcash.org/source/${P}.tgz"
11
12 LICENSE="CPL-1.0"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc x86"
15
16 DEPEND=""
17 RDEPEND=""
18
19 src_unpack() {
20 unpack ${A}; cd ${S}
21 sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die
22 }
23
24 src_compile() {
25 emake CC=$(tc-getCC) generic || die
26 }
27
28 src_install() {
29 dobin hashcash
30 doman hashcash.1
31 dodoc CHANGELOG
32 insinto /usr/share/doc/${PF}/examples
33 doins contrib/hashcash-{request,sendmail{,.txt}} \
34 contrib/hashfork.{c,py,txt}
35 }

  ViewVC Help
Powered by ViewVC 1.1.20