summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-09-07 20:08:33 +0000
committerTim Harder <radhermit@gentoo.org>2013-09-07 20:08:33 +0000
commit1ea8df3712c053ad547eb26dc6a6927af7e19a35 (patch)
tree5c126943ae76ce063250e667805b6b8c8653fa2f /net-news
parentVersion bump. (diff)
downloadgentoo-2-1ea8df3712c053ad547eb26dc6a6927af7e19a35.tar.gz
gentoo-2-1ea8df3712c053ad547eb26dc6a6927af7e19a35.tar.bz2
gentoo-2-1ea8df3712c053ad547eb26dc6a6927af7e19a35.zip
Version bump (fixes bug #475410).
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/newsbeuter/ChangeLog7
-rw-r--r--net-news/newsbeuter/newsbeuter-2.7.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/net-news/newsbeuter/ChangeLog b/net-news/newsbeuter/ChangeLog
index f7a78e15e07e..754dc556e0fc 100644
--- a/net-news/newsbeuter/ChangeLog
+++ b/net-news/newsbeuter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-news/newsbeuter
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.47 2013/07/01 07:30:28 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.48 2013/09/07 20:08:33 radhermit Exp $
+
+*newsbeuter-2.7 (07 Sep 2013)
+
+ 07 Sep 2013; Tim Harder <radhermit@gentoo.org> +newsbeuter-2.7.ebuild:
+ Version bump (fixes bug #475410).
01 Jul 2013; Tim Harder <radhermit@gentoo.org> newsbeuter-2.6.ebuild:
Simplify sed line.
diff --git a/net-news/newsbeuter/newsbeuter-2.7.ebuild b/net-news/newsbeuter/newsbeuter-2.7.ebuild
new file mode 100644
index 000000000000..231eafb4c46b
--- /dev/null
+++ b/net-news/newsbeuter/newsbeuter-2.7.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-2.7.ebuild,v 1.1 2013/09/07 20:08:33 radhermit Exp $
+
+EAPI="5"
+
+inherit toolchain-funcs
+
+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-7.18.0
+ dev-libs/json-c
+ dev-libs/libxml2"
+
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ virtual/pkgconfig
+ sys-devel/gettext
+ test? (
+ dev-libs/boost
+ sys-devel/bc
+ )"
+
+# tests require network access
+RESTRICT="test"
+
+src_prepare() {
+ sed -i 's:-ggdb::' Makefile || die
+}
+
+src_configure() {
+ ./config.sh || die
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+}
+
+src_test() {
+ emake test
+ # Tests fail if in ${S} rather than in ${S}/test
+ cd "${S}"/test
+ ./test || die
+}
+
+src_install() {
+ emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" install
+ dodoc AUTHORS README CHANGES
+}