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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.2 2009/09/23 19:36:36 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/hashcash-1.22-r1.ebuild,v 1.3 2010/10/28 10:07:31 ssuominen Exp $
4 4
5inherit eutils toolchain-funcs 5inherit eutils toolchain-funcs
6 6
7IUSE="" 7IUSE=""
8DESCRIPTION="Utility to generate hashcash tokens" 8DESCRIPTION="Utility to generate hashcash tokens"
11 11
12LICENSE="CPL-1.0" 12LICENSE="CPL-1.0"
13SLOT="0" 13SLOT="0"
14KEYWORDS="~amd64 ~ppc x86" 14KEYWORDS="~amd64 ~ppc x86"
15 15
16DEPEND=""
17RDEPEND=""
18
19src_unpack() { 16src_unpack() {
20 unpack ${A}; cd ${S} 17 unpack ${A}
18 cd "${S}"
21 sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die 19 sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die
22} 20}
23 21
24src_compile() { 22src_compile() {
25 emake CC=$(tc-getCC) generic || die 23 emake CC="$(tc-getCC)" generic || die
26} 24}
27 25
28src_install() { 26src_install() {
29 dobin hashcash 27 dobin hashcash
30 doman hashcash.1 28 doman hashcash.1

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20