/[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.3 - (hide annotations) (download)
Thu Oct 28 10:07:31 2010 UTC (9 years, 2 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +5 -7 lines
Fix quoting

(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)

1 ssuominen 1.3 # Copyright 1999-2010 Gentoo Foundation
2 kloeri 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/hashcash-1.22-r1.ebuild,v 1.2 2009/09/23 19:36:36 patrick Exp $
4 kloeri 1.1
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     src_unpack() {
17 ssuominen 1.3 unpack ${A}
18     cd "${S}"
19 kloeri 1.1 sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die
20     }
21    
22     src_compile() {
23 ssuominen 1.3 emake CC="$(tc-getCC)" generic || die
24 kloeri 1.1 }
25    
26     src_install() {
27     dobin hashcash
28     doman hashcash.1
29     dodoc CHANGELOG
30     insinto /usr/share/doc/${PF}/examples
31     doins contrib/hashcash-{request,sendmail{,.txt}} \
32     contrib/hashfork.{c,py,txt}
33     }

  ViewVC Help
Powered by ViewVC 1.1.20