summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Anderson <gentoofan23@gentoo.org>2008-12-19 00:33:59 +0000
committerThomas Anderson <gentoofan23@gentoo.org>2008-12-19 00:33:59 +0000
commit2b9fad0e227698b54e460903bc3cb87a30150593 (patch)
tree25a03f292eea6805381b439cc5ddadd29b49f390 /net-news/newsbeuter
parentBump to fix compilation and use moved svn repository. Thanks to jlec on IRC. (diff)
downloadgentoo-2-2b9fad0e227698b54e460903bc3cb87a30150593.tar.gz
gentoo-2-2b9fad0e227698b54e460903bc3cb87a30150593.tar.bz2
gentoo-2-2b9fad0e227698b54e460903bc3cb87a30150593.zip
Version bump, thanks to Tim Harder in bug #251570. Remove Old.
(Portage version: 2.1.6_rc3/cvs/Linux 2.6.25.9 x86_64)
Diffstat (limited to 'net-news/newsbeuter')
-rw-r--r--net-news/newsbeuter/ChangeLog8
-rw-r--r--net-news/newsbeuter/newsbeuter-1.3.ebuild (renamed from net-news/newsbeuter/newsbeuter-0.7.ebuild)37
2 files changed, 31 insertions, 14 deletions
diff --git a/net-news/newsbeuter/ChangeLog b/net-news/newsbeuter/ChangeLog
index 0ac84e3f6dde..08ab5d165cf8 100644
--- a/net-news/newsbeuter/ChangeLog
+++ b/net-news/newsbeuter/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-news/newsbeuter
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.16 2008/09/23 07:42:29 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.17 2008/12/19 00:33:59 gentoofan23 Exp $
+
+*newsbeuter-1.3 (19 Dec 2008)
+
+ 19 Dec 2008; Thomas Anderson <gentoofan23@gentoo.org>
+ -newsbeuter-0.7.ebuild, +newsbeuter-1.3.ebuild:
+ Version bump, thanks to Tim Harder in bug #251570. Remove Old.
23 Sep 2008; Markus Rothe <corsair@gentoo.org> newsbeuter-1.2.ebuild:
Added ~ppc
diff --git a/net-news/newsbeuter/newsbeuter-0.7.ebuild b/net-news/newsbeuter/newsbeuter-1.3.ebuild
index 9b3e1350aa1a..74f63a8b8a76 100644
--- a/net-news/newsbeuter/newsbeuter-0.7.ebuild
+++ b/net-news/newsbeuter/newsbeuter-1.3.ebuild
@@ -1,28 +1,32 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-0.7.ebuild,v 1.4 2008/06/22 18:08:25 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-1.3.ebuild,v 1.1 2008/12/19 00:33:59 gentoofan23 Exp $
-inherit toolchain-funcs
+EAPI="1"
+inherit toolchain-funcs eutils
DESCRIPTION="A RSS/Atom feed reader for the text console."
-HOMEPAGE="http://synflood.at/newsbeuter.html"
-SRC_URI="http://synflood.at/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.newsbeuter.org/index.html"
+SRC_URI="http://www.${PN}.org/downloads/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND=">=net-libs/libnxml-0.18
- >=net-libs/libmrss-0.18
- =dev-db/sqlite-3*
- <dev-db/sqlite-3.5
- >=dev-libs/stfl-0.14
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-db/sqlite-3.5:3
+ >=dev-libs/stfl-0.19
net-misc/curl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext
+ test? ( dev-libs/boost )"
+
src_unpack() {
unpack ${A}
cd "${S}"
+
sed -i \
-e "s:-ggdb:${CXXFLAGS}:" \
-e "s:^CXX=.*:CXX=$(tc-getCXX):" \
@@ -33,8 +37,15 @@ src_compile() {
emake prefix="/usr" || die
}
+src_test() {
+ emake test || die "Compiling testsuite failed"
+ ##Tests fail if in ${S} rather than in ${S}/test
+ cd "${S}"/test
+ ./test || die "Testsuite failed"
+}
+
src_install() {
- make prefix="${D}/usr" install || die
+ emake prefix="${D}/usr" install || die
dodoc AUTHORS README
mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF}/
rm -rf "${D}"/usr/share/doc/${PN}