diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-02 14:09:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-02 14:09:07 +0100 |
commit | b17a3ef12038de50228bade1f05502c74e135321 (patch) | |
tree | 9026dffec53f92cba48ca9a500a4f778e6304380 /net-libs/libmrss | |
parent | 3cf7c3ef441822c889356fd1812ebf2944a59851 (diff) |
gentoo resync : 02.09.2020
Diffstat (limited to 'net-libs/libmrss')
-rw-r--r-- | net-libs/libmrss/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libmrss/libmrss-0.19.2-r1.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/libmrss/Manifest b/net-libs/libmrss/Manifest index 8c6c2d23509a..2e3fa92678df 100644 --- a/net-libs/libmrss/Manifest +++ b/net-libs/libmrss/Manifest @@ -1,3 +1,4 @@ DIST libmrss-0.19.2.tar.gz 375238 BLAKE2B e01682d9223d3f2cea444b5e6b5e9b6e476782ef0ae1c4a85d5ea8e8e5383d5317f2d35eff93347e6b5fde0778060c212b8e489915f50b20f098f7e94805e148 SHA512 0997ced472b767174977b7623484c57bfd0b901a9650cb7f7738ad7393153752ebfc1f717e2eacfb5f7eb319140599128d73de7e095327ee089cd1f85ab42b24 +EBUILD libmrss-0.19.2-r1.ebuild 1178 BLAKE2B 19aaa018be3ca1778524935f77d8da8400110e314042c9db74ce04774539daf63228278c8ad7172402c55068a0afb7a1baa4ede41330084f4e95f5bb6d07576a SHA512 bbc528a93bc4cc79de5fbb59f1323173aad82680f08dfc703a266b6e05b72398c40749d7dcc6bc9bdd069c62ee942fa24ae8d7241ede6b2c87764124ecefb828 EBUILD libmrss-0.19.2.ebuild 980 BLAKE2B 973b0eed41f64477fb7d00a55a0ef32dfe7d6e2f252dbad8a7c25453fdac8b7161aac4422348105a3d52dd4c1d258c0f22b6d45d0acca0f38fcd6829713ba7ab SHA512 f3fc8203513bddd479e496329cbc524670c2a0a81fa79e6b88758b69a1b5e0b746b14906d9b5f3dfce4d8041f992885f1805f204ac4d740aee07db967c1976c0 MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/net-libs/libmrss/libmrss-0.19.2-r1.ebuild b/net-libs/libmrss/libmrss-0.19.2-r1.ebuild new file mode 100644 index 000000000000..11b589a29931 --- /dev/null +++ b/net-libs/libmrss/libmrss-0.19.2-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams" +HOMEPAGE="https://www.autistici.org/bakunin/libmrss/doc/" +SRC_URI="https://www.autistici.org/bakunin/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" +IUSE="doc examples" + +RDEPEND=" + net-libs/libnxml + net-misc/curl" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +# TODO: php-bindings + +src_prepare() { + default + + # Fix lib dir in installed pkgconfig file + sed -i -e "s:\${exec_prefix}/lib:\${exec_prefix}/$(get_libdir):" mrss.pc.in \ + || die "Failed to correct pkgconfig file" +} + +src_configure() { + econf --disable-static +} + +src_compile() { + 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 +} + +src_install() { + default + + if use examples; then + docinto test + dodoc test/*.c + fi + + # no static archives + find "${D}" -name '*.la' -delete || die +} |