summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-04-06 18:21:05 +0000
committerJonathan Callen <abcd@gentoo.org>2010-04-06 18:21:05 +0000
commitb478a27f8f634f62cb210ce08433cf548047dd05 (patch)
tree189b0891f07c9815d48dd39997ed3bff76ee7be2 /net-nntp/nget
parentRemove dev-libs/boost-1.40 mask since it's no longer in the tree. (diff)
downloadgentoo-2-b478a27f8f634f62cb210ce08433cf548047dd05.tar.gz
gentoo-2-b478a27f8f634f62cb210ce08433cf548047dd05.tar.bz2
gentoo-2-b478a27f8f634f62cb210ce08433cf548047dd05.zip
Bump to EAPI=3, add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'net-nntp/nget')
-rw-r--r--net-nntp/nget/ChangeLog7
-rw-r--r--net-nntp/nget/nget-0.27.1.ebuild30
2 files changed, 20 insertions, 17 deletions
diff --git a/net-nntp/nget/ChangeLog b/net-nntp/nget/ChangeLog
index 8000ddbbfa3a..2b6e3dbe5f1e 100644
--- a/net-nntp/nget/ChangeLog
+++ b/net-nntp/nget/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-nntp/nget
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v 1.13 2009/02/15 22:38:29 vapier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v 1.14 2010/04/06 18:21:05 abcd Exp $
+
+ 06 Apr 2010; Jonathan Callen <abcd@gentoo.org> nget-0.27.1.ebuild:
+ Bump to EAPI=3, add prefix keywords
15 Feb 2009; Mike Frysinger <vapier@gentoo.org>
-files/nget-0.27.1-gcc-4.3.patch, +files/nget-0.27.1-headers.patch,
diff --git a/net-nntp/nget/nget-0.27.1.ebuild b/net-nntp/nget/nget-0.27.1.ebuild
index 2615e9d0aa55..3bbdfd553d38 100644
--- a/net-nntp/nget/nget-0.27.1.ebuild
+++ b/net-nntp/nget/nget-0.27.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v 1.11 2009/02/15 22:38:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v 1.12 2010/04/06 18:21:05 abcd Exp $
+
+EAPI="3"
inherit flag-o-matic eutils
@@ -13,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm hppa ppc sh x86"
+KEYWORDS="amd64 arm hppa ppc sh x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="static debug ipv6 pcre zlib"
RESTRICT="test"
@@ -22,31 +24,29 @@ RDEPEND="dev-libs/popt
zlib? ( sys-libs/zlib )"
DEPEND="dev-libs/uulib"
-src_unpack() {
- unpack ${A}
- epatch "${WORKDIR}"/${DEB_PATCH}
- cd "${S}"
+src_prepare() {
+ EPATCH_OPTS="-p1" epatch "${WORKDIR}"/${DEB_PATCH}
epatch debian/patches/*.patch "${FILESDIR}"/${P}-headers.patch
sed -i '/^install_bin/s:-s::' Makefile.in
}
-src_compile() {
+src_configure() {
use static && append-flags -static
+ [[ ${CHOST} == *-darwin* ]] && append-flags -D__STDC_CONSTANT_MACROS
+
econf \
$(use_enable debug) \
$(use_enable ipv6) \
$(use_with pcre) \
- $(use_with zlib) \
- || die "econf failed"
- emake || die "emake failed"
+ $(use_with zlib)
}
src_install() {
- make \
- prefix="${D}"/usr \
- mandir="${D}"/usr/share/man \
- infodir="${D}"/usr/share/info \
+ emake -j1 \
+ prefix="${ED}"/usr \
+ mandir="${ED}"/usr/share/man \
+ infodir="${ED}"/usr/share/info \
install || die "install failed"
dodoc Changelog FAQ README TODO