diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-26 22:10:09 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-26 22:10:09 +0000 |
commit | 20b2a9b1faccec79a0d67a3f03b63f783bf57d54 (patch) | |
tree | f766bc144aefff288c0a0d7211e94ce696d50a1e /net-libs/libmrss | |
parent | Update HOMEPAGE and SRC_URI. (diff) | |
download | gentoo-2-20b2a9b1faccec79a0d67a3f03b63f783bf57d54.tar.gz gentoo-2-20b2a9b1faccec79a0d67a3f03b63f783bf57d54.tar.bz2 gentoo-2-20b2a9b1faccec79a0d67a3f03b63f783bf57d54.zip |
Update to EAPI 4, add static-libs use flag, and drop currently unused php use flag.
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libmrss')
-rw-r--r-- | net-libs/libmrss/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/libmrss/libmrss-0.19.2.ebuild | 18 |
2 files changed, 17 insertions, 7 deletions
diff --git a/net-libs/libmrss/ChangeLog b/net-libs/libmrss/ChangeLog index 0460c024d1bf..02494088b5a5 100644 --- a/net-libs/libmrss/ChangeLog +++ b/net-libs/libmrss/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/libmrss # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libmrss/ChangeLog,v 1.15 2011/09/26 21:56:36 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libmrss/ChangeLog,v 1.16 2011/09/26 22:10:09 radhermit Exp $ + + 26 Sep 2011; Tim Harder <radhermit@gentoo.org> libmrss-0.19.2.ebuild: + Update to EAPI 4, add static-libs use flag, and drop currently unused php use + flag. 26 Sep 2011; Tim Harder <radhermit@gentoo.org> libmrss-0.17.1.ebuild, libmrss-0.18.0.ebuild, libmrss-0.19.2.ebuild: 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 {} + } |