summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Anderson <tanderson@gentoo.org>2010-04-03 13:52:38 +0000
committerThomas Anderson <tanderson@gentoo.org>2010-04-03 13:52:38 +0000
commita356449c5892e489b975cdfed52d36fa71f21f31 (patch)
tree65fe036c8a37cdc4d116222b30744ea34522eb75 /net-news/newsbeuter
parentInclude madvise defines, fixes bug 305785, include virtio-large-iovecs patch,... (diff)
downloadgentoo-2-a356449c5892e489b975cdfed52d36fa71f21f31.tar.gz
gentoo-2-a356449c5892e489b975cdfed52d36fa71f21f31.tar.bz2
gentoo-2-a356449c5892e489b975cdfed52d36fa71f21f31.zip
Add net-news/newsbeuter-2.2, thanks to Tim Harder for ebuild changes in bug #296734.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'net-news/newsbeuter')
-rw-r--r--net-news/newsbeuter/ChangeLog11
-rw-r--r--net-news/newsbeuter/newsbeuter-2.2.ebuild46
2 files changed, 55 insertions, 2 deletions
diff --git a/net-news/newsbeuter/ChangeLog b/net-news/newsbeuter/ChangeLog
index 34beb5e239a2..7cc254956c3e 100644
--- a/net-news/newsbeuter/ChangeLog
+++ b/net-news/newsbeuter/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-news/newsbeuter
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.22 2009/08/31 13:28:02 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.23 2010/04/03 13:52:38 tanderson Exp $
+
+*newsbeuter-2.2 (03 Apr 2010)
+
+ 03 Apr 2010; Thomas Anderson <tanderson@gentoo.org>
+ +newsbeuter-2.2.ebuild:
+ Add net-news/newsbeuter-2.2, thanks to Tim Harder for ebuild changes in
+ bug #296734.
31 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
-newsbeuter-1.2.ebuild, -newsbeuter-1.3.ebuild:
diff --git a/net-news/newsbeuter/newsbeuter-2.2.ebuild b/net-news/newsbeuter/newsbeuter-2.2.ebuild
new file mode 100644
index 000000000000..da67bc35168e
--- /dev/null
+++ b/net-news/newsbeuter/newsbeuter-2.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-2.2.ebuild,v 1.1 2010/04/03 13:52:38 tanderson Exp $
+
+EAPI="2"
+inherit toolchain-funcs eutils
+
+DESCRIPTION="A RSS/Atom feed reader for the text console."
+HOMEPAGE="http://www.newsbeuter.org/index.html"
+SRC_URI="http://www.${PN}.org/downloads/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-db/sqlite-3.5:3
+ >=dev-libs/stfl-0.21
+ net-misc/curl
+ dev-libs/libxml2"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext
+ test? ( dev-libs/boost )"
+
+src_prepare() {
+ sed -i \
+ -e "s:-ggdb:${CXXFLAGS}:" \
+ -e "s:^CXX=.*:CXX=$(tc-getCXX):" \
+ Makefile
+}
+
+src_test() {
+ emake test || die
+ # Tests fail if in ${S} rather than in ${S}/test
+ cd "${S}"/test
+ ./test || die
+}
+
+src_install() {
+ emake prefix="${D}/usr" install || die
+ dodoc AUTHORS README CHANGES
+ mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF}/
+ rm -rf "${D}"/usr/share/doc/${PN}
+}