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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jan 25 20:18:04 2008 UTC (11 years, 10 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.3.19)

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
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_compile() {
20 sed -i \
21 -e "s|^CFLAGS.*\$|CFLAGS = ${CFLAGS}|" \
22 -e "s|^INSTALL_PATH.*\$|INSTALL_PATH = \$(PREFIX)/bin|" \
23 -e "s|^MAN_INSTALL_PATH.*\$|MAN_INSTALL_PATH = \$(PREFIX)/share/man/man1|" \
24 Makefile || die
25
26 emake || die
27 }
28
29 src_install() {
30 dobin hashcash
31 doman hashcash.1
32 }

  ViewVC Help
Powered by ViewVC 1.1.20