summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-26 22:10:09 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-26 22:10:09 +0000
commit75f0e833ae7dc2444f19c61872d4bfb49eaa7715 (patch)
tree5f503ba27175fbf26821a69fa0bd5ce49aa8671f /net-libs/libmrss/libmrss-0.19.2.ebuild
parentUpdate HOMEPAGE and SRC_URI. (diff)
downloadhistorical-75f0e833ae7dc2444f19c61872d4bfb49eaa7715.tar.gz
historical-75f0e833ae7dc2444f19c61872d4bfb49eaa7715.tar.bz2
historical-75f0e833ae7dc2444f19c61872d4bfb49eaa7715.zip
Update to EAPI 4, add static-libs use flag, and drop currently unused php use flag.
Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libmrss/libmrss-0.19.2.ebuild')
-rw-r--r--net-libs/libmrss/libmrss-0.19.2.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/net-libs/libmrss/libmrss-0.19.2.ebuild b/net-libs/libmrss/libmrss-0.19.2.ebuild
index 32f7e12b36e5..2235dc856364 100644
--- a/net-libs/libmrss/libmrss-0.19.2.ebuild
+++ b/net-libs/libmrss/libmrss-0.19.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libmrss/libmrss-0.19.2.ebuild,v 1.2 2011/09/26 21:56:36 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libmrss/libmrss-0.19.2.ebuild,v 1.3 2011/09/26 22:10:09 radhermit Exp $
-EAPI="2"
+EAPI="4"
DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams"
HOMEPAGE="http://www.autistici.org/bakunin/libmrss/doc/"
@@ -11,7 +11,7 @@ SRC_URI="http://www.autistici.org/bakunin/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc examples php"
+IUSE="doc examples static-libs"
RDEPEND=">=net-libs/libnxml-0.18.0
net-misc/curl"
@@ -21,8 +21,13 @@ DEPEND="${RDEPEND}
# TODO: php-bindings
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
src_compile() {
- emake || die "make failed"
+ emake
if use doc; then
ebegin "Creating documentation"
@@ -32,8 +37,7 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog NEWS README
+ default
if use doc; then
dohtml doc/html/*
@@ -43,4 +47,6 @@ src_install() {
insinto /usr/share/doc/${PF}/test
doins test/*.c
fi
+
+ find "${D}" -name '*.la' -exec rm -f {} +
}