blob: 3616987313ba3a07ab9016ac05a0610869dd7a46 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ctorrent-3.3.2-r2.ebuild,v 1.1 2011/01/16 01:15:49 vapier Exp $
EAPI="2"
inherit eutils
MY_P="${PN}-dnh${PV}"
DESCRIPTION="Enhanced CTorrent is a BitTorrent console client written in C and C++"
HOMEPAGE="http://www.rahul.net/dholmes/ctorrent/"
SRC_URI="mirror://sourceforge/dtorrent/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
S=${WORKDIR}/${MY_P}
DEPEND="dev-libs/openssl"
src_prepare() {
epatch "${FILESDIR}"/${PN}-CVE-2009-1759.patch
epatch "${FILESDIR}"/${P}-negative-ints.patch
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README-DNH.TXT README NEWS
}
|