diff options
Diffstat (limited to 'net-news/snownews/snownews-1.5.11.ebuild')
-rw-r--r-- | net-news/snownews/snownews-1.5.11.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-news/snownews/snownews-1.5.11.ebuild b/net-news/snownews/snownews-1.5.11.ebuild new file mode 100644 index 000000000000..5612adebf17f --- /dev/null +++ b/net-news/snownews/snownews-1.5.11.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/snownews-1.5.11.ebuild,v 1.1 2009/03/20 10:31:07 cedk Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Snownews, a text-mode RSS/RDF newsreader" +HOMEPAGE="http://snownews.kcore.de/" +SRC_URI="http://home.kcore.de/~kiza/software/snownews/download/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND=">=dev-libs/libxml2-2.5.6 + >=sys-libs/ncurses-5.3" + +RDEPEND="dev-perl/XML-LibXML + dev-perl/XML-LibXSLT + dev-perl/libwww-perl" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e "s/-O2//" \ + configure + + sed -i -e 's/$(INSTALL) -s/$(INSTALL)/' \ + Makefile + + #Bug #121805 + epatch "${FILESDIR}"/${PN}-1.5.7-stdint.patch +} + +src_compile() { + local conf="--prefix=/usr" + ./configure ${conf} || die "configure failed" + emake CC="$(tc-getCC)" EXTRA_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + emake PREFIX="${D}/usr" install || die "make install failed" + + dodoc AUTHOR CREDITS README README.de README.patching +} |