summaryrefslogtreecommitdiff
blob: 5e165fffd73bceb77cae916240c3200f45ae0e09 (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
27
28
29
30
# Copyright 1999-2005 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.4 2005/06/02 18:48:03 sekretarz 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 ~amd64"
IUSE=""
DEPEND=">=dev-libs/openssl-0.9.7"

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i -e 's:-O3:${CFLAGS}:g' Makefile */Makefile
}

src_compile() {
	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
}