summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-03-28 13:30:37 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-03-28 13:30:37 +0000
commitee08d04c6f0c41f740e5e8ef611adb84b7253dd4 (patch)
tree41f4ae764c6581ad58f3302cd01c63fceef009e8 /net-news
parentx86 stable wrt bug #359821 (diff)
downloadgentoo-2-ee08d04c6f0c41f740e5e8ef611adb84b7253dd4.tar.gz
gentoo-2-ee08d04c6f0c41f740e5e8ef611adb84b7253dd4.tar.bz2
gentoo-2-ee08d04c6f0c41f740e5e8ef611adb84b7253dd4.zip
Obey CC, depend on curl, eapi -> 4.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/rsstool/ChangeLog8
-rw-r--r--net-news/rsstool/rsstool-1.0.1_rc2.ebuild22
2 files changed, 19 insertions, 11 deletions
diff --git a/net-news/rsstool/ChangeLog b/net-news/rsstool/ChangeLog
index a90858cd2330..3097df6d83db 100644
--- a/net-news/rsstool/ChangeLog
+++ b/net-news/rsstool/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-news/rsstool
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/rsstool/ChangeLog,v 1.14 2010/10/16 13:59:52 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/rsstool/ChangeLog,v 1.15 2011/03/28 13:30:37 scarabeus Exp $
+
+ 28 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ rsstool-1.0.1_rc2.ebuild:
+ Obey CC, depend on curl, eapi -> 4.
16 Oct 2010; Brent Baude <ranger@gentoo.org> rsstool-1.0.0_rc4.ebuild:
stable ppc, bug 337839
diff --git a/net-news/rsstool/rsstool-1.0.1_rc2.ebuild b/net-news/rsstool/rsstool-1.0.1_rc2.ebuild
index 6c2ef849d369..989b8892e166 100644
--- a/net-news/rsstool/rsstool-1.0.1_rc2.ebuild
+++ b/net-news/rsstool/rsstool-1.0.1_rc2.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/rsstool/rsstool-1.0.1_rc2.ebuild,v 1.1 2010/09/18 11:25:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/rsstool/rsstool-1.0.1_rc2.ebuild,v 1.2 2011/03/28 13:30:37 scarabeus Exp $
-EAPI="2"
+EAPI=4
-inherit eutils
+inherit eutils toolchain-funcs
-MY_PV=${PV/_}
-MY_P=${PN}-${MY_PV}
+MY_P=${PN}-${PV/_}
DESCRIPTION="cmdline tool to read, parse, merge, and write RSS (and Atom) feeds"
HOMEPAGE="http://rsstool.berlios.de/"
@@ -18,17 +17,22 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
-RDEPEND="dev-libs/libxml2"
+RDEPEND="dev-libs/libxml2
+ net-misc/curl"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}-src/src
src_prepare() {
- sed -i '1i#!/bin/bash' configure #141906
+ sed -i '1i#!/bin/bash' configure || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
}
src_install() {
- emake DESTDIR="${D}" BINDIR="/usr/bin" install || die
+ emake DESTDIR="${D}" BINDIR="/usr/bin" install
dohtml ../*.html
}