blob: 3c61d1cf6fc1d05d4395a23f9a5b279e2b7d7378 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-0.2.3-r1.ebuild,v 1.2 2007/05/18 18:17:15 armin76 Exp $
inherit eutils
DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files"
HOMEPAGE="http://sourceforge.net/projects/nzbget/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
IUSE="debug"
DEPEND="dev-libs/libxml2"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/0.2.3-include-order.patch
epatch "${FILESDIR}"/0.2.3-gcc41.patch
epatch "${FILESDIR}"/0.2.3-double-free.patch
}
src_compile() {
econf $(use_enable debug) || die "econf failed"
emake CFLAGS="-I. -DHAVE_CONFIG_H -D_GNU_SOURCE ${CFLAGS}" || die "emake failed"
}
src_install() {
dobin nzbget || die "dobin failed"
dodoc CHANGELOG README TODO nzbget.cfg.example || die "dodoc failed"
}
|