summaryrefslogtreecommitdiff
blob: 2bec35fc9b6a723c697bd93121cdf4d474a1efe4 (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
31
32
33
34
35
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild,v 1.2 2006/06/20 16:38:46 squinky86 Exp $

inherit eutils autotools

DESCRIPTION="CTorrent is a BitTorrent console client written in C and C++."
HOMEPAGE="http://ctorrent.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
	http://www.rahul.net/dholmes/ctorrent/patchset-${P}-dnh2.diff"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ~sparc ~x86"
IUSE=""

DEPEND=">=sys-apps/sed-4
	dev-libs/openssl"

src_unpack()
{
	unpack ${A}
	cd ${S}

	epatch ${DISTDIR}/patchset-${P}-dnh2.diff
	epatch ${FILESDIR}/${P}-dnh2-SHA.patch
	epatch ${FILESDIR}/${P}-dnh2-vfat.patch

	eautoreconf
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc README-DNH.TXT README NEWS
}