From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/libhtmlparse/Manifest | 3 ++ .../libhtmlparse/libhtmlparse-0.1.13-r1.ebuild | 34 ++++++++++++++++++++++ dev-libs/libhtmlparse/metadata.xml | 5 ++++ 3 files changed, 42 insertions(+) create mode 100644 dev-libs/libhtmlparse/Manifest create mode 100644 dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild create mode 100644 dev-libs/libhtmlparse/metadata.xml (limited to 'dev-libs/libhtmlparse') diff --git a/dev-libs/libhtmlparse/Manifest b/dev-libs/libhtmlparse/Manifest new file mode 100644 index 000000000000..49d6665e84b1 --- /dev/null +++ b/dev-libs/libhtmlparse/Manifest @@ -0,0 +1,3 @@ +DIST libhtmlparse-0.1.13.tar.gz 202176 BLAKE2B 070d4d5ab6eebc46a310481e7265dd134b4b109fd7e89a3f3ed39319c954c6e5dd8e869eeec7a2f2126467254fdaa807a84fa2de437685836d46ef02a3cfb10e SHA512 51366b24ebf5cc1e494f146ec996f9327d20a41cd425ccade23c45bc95eaf76dc5e339aee6a459c794f527a55d7cf96502832dbe88281ee7c7e2b3c14d3a53aa +EBUILD libhtmlparse-0.1.13-r1.ebuild 808 BLAKE2B 88790d0bd973a5e7aa9e0dd73ee11574e7c0fe1be9a1a0c996783c129765f5370df702fd37c3172a984275030c1d3353bc37021ec8d4433c1eafb42cdbad3f79 SHA512 70366b071bd1537d52d496981b01dea528d3cfe95fe3e0f11c8d222b9829acb75ac22270a64823515d483a351367db4d106be14f9e98e36230b32ac4b1fbe88c +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild b/dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild new file mode 100644 index 000000000000..b087e1d46606 --- /dev/null +++ b/dev-libs/libhtmlparse/libhtmlparse-0.1.13-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="HTML parsing library" +HOMEPAGE="http://msalem.translator.cx/libhtmlparse.html" +SRC_URI="http://msalem.translator.cx/dist/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="static-libs" + +DOCS=( AUTHORS BUGS INSTALL ChangeLog NEWS README TODO ) + +src_unpack() { + # for some reason, we get a "this does not look like a tar archive" error + # but the following works... go figure. + gunzip -c "${DISTDIR}"/${P}.tar.gz > ${P}.tar || die 'gunzip failed' + tar xf ${P}.tar || die "failed to unpack ${P}.tar" + rm ${P}.tar || die "rm failed" +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/libhtmlparse/metadata.xml b/dev-libs/libhtmlparse/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-libs/libhtmlparse/metadata.xml @@ -0,0 +1,5 @@ + + + + + -- cgit v1.2.3