| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ctorrent-3.3.2-r1.ebuild,v 1.4 2010/09/11 22:03:43 josejx Exp $
|
| 4 |
|
| 5 |
inherit eutils
|
| 6 |
|
| 7 |
MY_P="${PN}-dnh${PV}"
|
| 8 |
|
| 9 |
DESCRIPTION="Enhanced CTorrent is a BitTorrent console client written in C and C++."
|
| 10 |
HOMEPAGE="http://www.rahul.net/dholmes/ctorrent/"
|
| 11 |
SRC_URI="mirror://sourceforge/dtorrent/${MY_P}.tar.gz"
|
| 12 |
|
| 13 |
SLOT="0"
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
KEYWORDS="amd64 arm ppc s390 sh ~sparc x86 ~x86-fbsd"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
S="${WORKDIR}/${MY_P}"
|
| 19 |
|
| 20 |
DEPEND="dev-libs/openssl"
|
| 21 |
|
| 22 |
src_unpack() {
|
| 23 |
unpack ${A}
|
| 24 |
cd "${S}"
|
| 25 |
|
| 26 |
epatch "${FILESDIR}/${PN}-CVE-2009-1759.patch" || die
|
| 27 |
}
|
| 28 |
|
| 29 |
src_install() {
|
| 30 |
emake DESTDIR="${D}" install || die "emake install failed."
|
| 31 |
dodoc AUTHORS ChangeLog README-DNH.TXT README NEWS
|
| 32 |
}
|