summaryrefslogtreecommitdiff
blob: 716352c21b65366464aa3f6be0136173c7790585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/ww/ww-2.26.ebuild,v 1.1 2004/10/05 17:20:06 squinky86 Exp $

DESCRIPTION="White Water allows people to publish files for download by thousands of people without saturating their bandwidth."
HOMEPAGE="http://ww.walrond.org"
SRC_URI="ftp://ftp.walrond.org/ww/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-libs/openssl-0.9.7"

src_compile() {
	sed -e "s/-O3/${CFLAGS}/g" Makefile > Makefile.$$
	mv -f Makefile.$$ Makefile || die "moving Makefile"
	make clean || die "make clean"
	make deps || die "make deps"
	make release || die "make release"
}

src_install() {
	dodoc INSTALL README
	dohtml -r www
	dobin ww
}