diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
commit | 71deace00d1a2b091313fe137ab7092418c6f87c (patch) | |
tree | 9f1f0dee23e13658e52f49437befe78427148c51 /net-libs/libmrss/libmrss-0.19.2.ebuild | |
parent | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff) |
gentoo resync : 10.02.2020
Diffstat (limited to 'net-libs/libmrss/libmrss-0.19.2.ebuild')
-rw-r--r-- | net-libs/libmrss/libmrss-0.19.2.ebuild | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/net-libs/libmrss/libmrss-0.19.2.ebuild b/net-libs/libmrss/libmrss-0.19.2.ebuild index e57dc41abcab..f4ce0a9497b3 100644 --- a/net-libs/libmrss/libmrss-0.19.2.ebuild +++ b/net-libs/libmrss/libmrss-0.19.2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 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/" @@ -10,27 +10,31 @@ SRC_URI="http://www.autistici.org/bakunin/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm ~mips ppc x86" -IUSE="doc examples static-libs" +IUSE="doc examples" -RDEPEND=">=net-libs/libnxml-0.18.0 +RDEPEND=" + net-libs/libnxml net-misc/curl" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig doc? ( app-doc/doxygen )" # TODO: php-bindings src_configure() { - econf \ - $(use_enable static-libs static) + econf --disable-static } src_compile() { - emake + default if use doc; then ebegin "Creating documentation" doxygen doxy.conf || die "generating docs failed" + # clean out doxygen gunk + rm doc/html/*.{md5,map} || die + HTML_DOCS=( doc/html/. ) eend 0 fi } @@ -38,14 +42,11 @@ src_compile() { src_install() { default - if use doc; then - dohtml doc/html/* - fi - if use examples; then - insinto /usr/share/doc/${PF}/test - doins test/*.c + docinto test + dodoc test/*.c fi - find "${D}" -name '*.la' -exec rm -f {} + + # no static archives + find "${D}" -name '*.la' -delete || die } |