/[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.1 - (show annotations) (download)
Sat Oct 7 20:52:35 2006 UTC (13 years, 3 months ago) by kloeri
Branch: MAIN
Don't overwrite CFLAGS, bug 145929.
(Portage version: 2.1.2_pre2-r3)

1 # Copyright 1999-2006 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.ebuild,v 1.2 2006/06/19 20:32:25 ticho 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="virtual/libc"
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