summaryrefslogtreecommitdiff
path: root/dev-libs/libparserutils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-19 14:07:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-19 14:07:55 +0000
commitd725480af7cbc67d784e5d96f973fa41e9030123 (patch)
tree620bbc21e2e1384f13394c32a7294bc1c0e8bae1 /dev-libs/libparserutils
parent0184387f6a748c74c5d29cddf20289dc94f05ddc (diff)
gentoo auto-resync : 19:01:2024 - 14:07:55
Diffstat (limited to 'dev-libs/libparserutils')
-rw-r--r--dev-libs/libparserutils/Manifest2
-rw-r--r--dev-libs/libparserutils/libparserutils-0.2.5.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/libparserutils/Manifest b/dev-libs/libparserutils/Manifest
index 9e0c1e723b23..da28e2f92869 100644
--- a/dev-libs/libparserutils/Manifest
+++ b/dev-libs/libparserutils/Manifest
@@ -1,3 +1,5 @@
DIST libparserutils-0.2.4-src.tar.gz 74521 BLAKE2B 85e39d64bb8365f95da227e3a52ea2a2a85b0f913f861117b496bdff1556b8ca880189325995cf02eeb51f2db76c917a63f59ee1a1fed8fec6ce43dc16f9b66f SHA512 e6a7b618e00e2bc69a0de63c29cc809f250fbd1c10544523c563f4bb9ac3281e02ba36c096518fc0a9074dad49a05346b04cc85b7d972f88f2645af0f869cbc2
+DIST libparserutils-0.2.5-src.tar.gz 74518 BLAKE2B 792e9fd14119537e4ec6e54d0e147114473e6935ea4b557c0de1341c29352e5773be90b282ca49573fd11cfb5a17e6f0f41cce1f2abbb95e5203794b3775ce4b SHA512 5d26bbfb754deb950c098f444d44003d681f30dfaf18a4d6b25ef5023ab5dbfa8968a9d8b6d319ad470fe3c75022328c55c810a623139208a7091b2df27f0a18
EBUILD libparserutils-0.2.4-r3.ebuild 864 BLAKE2B bc17a73ffc55a299e7eb6a44faac37cb6fbfe22d92a9d3769f9b37cb31882f1fc9751dc088a8ec4c522a4710cce647ffc024043f44bdec9b59e0c0b0e60ad2a9 SHA512 0740ec2c2e7e0cfec0974b1af26411a3a4fef8760c16d69f7100aa4d2c36e6af087e86eeb4e7478330d4b1f22abfa50542bd099b7b97e7966f23b01fa0693dad
+EBUILD libparserutils-0.2.5.ebuild 860 BLAKE2B 6f3fb9d67cbe375df67526ac846ba21b3b0286e3ca4a48e0e30db461712218295fac3f97805fc20831392438451be46c6148e714ea903fcabffade53aa7bf6ce SHA512 d4114bc748d27152459b1b6c501e93f8cdd354d0b4cf833063cae6384a30358289d23200f28aca948ec87d976cbd9fefabe1a89117636c32648ff58fe5fdcc53
MISC metadata.xml 253 BLAKE2B 63a51cab94d3e978d2c7dd1d124efd1c9e11c5ae277806a1f12359b2db370c37382fc1947e85940f6b0a439e3d49eecdd8d9bfb96587352d6a83803d2fd40bb6 SHA512 8da7cfe0cd26a54c106f2c029bbde93abf77576835e4fa66bc538dcf12fd41160f7cc2dd843a221962bb9a6f965311c076a1557caa38d503f371569b84841e33
diff --git a/dev-libs/libparserutils/libparserutils-0.2.5.ebuild b/dev-libs/libparserutils/libparserutils-0.2.5.ebuild
new file mode 100644
index 000000000000..8b00e9ceba47
--- /dev/null
+++ b/dev-libs/libparserutils/libparserutils-0.2.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic netsurf
+
+DESCRIPTION="C library for building efficient parsers"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="iconv test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ dev-build/netsurf-buildsystem
+ test? ( dev-lang/perl )
+"
+
+DOCS=( README docs/Todo )
+
+src_configure() {
+ append-cflags "-D$(usex iconv WITH WITHOUT)_ICONV_FILTER"
+}
+
+_emake() {
+ netsurf_define_makeconf
+ emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake test
+}
+
+src_install() {
+ _emake DESTDIR="${D}" install
+}