diff options
Diffstat (limited to 'dev-libs/onigmo')
-rw-r--r-- | dev-libs/onigmo/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/onigmo/metadata.xml | 19 | ||||
-rw-r--r-- | dev-libs/onigmo/onigmo-6.1.3.ebuild | 37 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/onigmo/Manifest b/dev-libs/onigmo/Manifest new file mode 100644 index 000000000000..ea69faea87cd --- /dev/null +++ b/dev-libs/onigmo/Manifest @@ -0,0 +1,3 @@ +DIST onigmo-6.1.3.tar.gz 834303 BLAKE2B f9b0a49716b817baa71d99bd3aaa6161b96f8073c4b4f87ea5eb70ebc7f7104b4844bb9763924c16a4ed90276bc2a2a18ab2f93dd546892b07fe81235b027f3d SHA512 dbae545ca79f8976b5e7f90f08301eb53a2c2f36c1ea62492badfbcfdd61679b68e3197765a2f9753bc033829c15d7fb24db307654b0ddb65774c88d122476fe +EBUILD onigmo-6.1.3.ebuild 880 BLAKE2B 871414d33ef128a8bf05b679b9526aface35b23c78f53d98179652470f92a568ded402bffbe379018270856069dade7c6278133553684cf866f7dfe59ce0ebdb SHA512 e3ca3ece250e328a81a43a941a87545d654d9ae733a88b378e495a42cbeb75d42dd6a93a17a464fdceb795af6d0663cedded635c3ad0569f8dfb7bb7ea251292 +MISC metadata.xml 535 BLAKE2B c2a9c3d82cba7874fa42d267fc719aadaf608e2b4b1702f947456defd43b0ae192cb8d6c47f8a44d782f0c0bb784574878ebac4a21ff0577678b875fc729302f SHA512 fd7e420cba982c3f58970918014a7f5d898e011a9aea497d567d4510b91d3e197499a80e566a8245fe446f0406b40fae2e5d9fa389cc2f559ab6b9199b49d418 diff --git a/dev-libs/onigmo/metadata.xml b/dev-libs/onigmo/metadata.xml new file mode 100644 index 000000000000..b9924f7d1fec --- /dev/null +++ b/dev-libs/onigmo/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <slots> + <subslots>Reflect ABI of libonigmo.so.</subslots> + </slots> + <use> + <flag name="combination-explosion-check"> + enable combination explosion check + </flag> + <flag name="crnl-as-line-terminator"> + enable CR+NL as line terminator + </flag> + </use> + <upstream> + <remote-id type="github">k-takata/Onigmo</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/onigmo/onigmo-6.1.3.ebuild b/dev-libs/onigmo/onigmo-6.1.3.ebuild new file mode 100644 index 000000000000..ec34f26b6f16 --- /dev/null +++ b/dev-libs/onigmo/onigmo-6.1.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Onigmo is a regular expressions library forked from Oniguruma" +HOMEPAGE="https://github.com/k-takata/onigmo" +SRC_URI="https://github.com/k-takata/${PN}/archive/Onigmo-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/6" +KEYWORDS="~amd64 ~x86" +IUSE="combination-explosion-check crnl-as-line-terminator static-libs" + +S="${WORKDIR}/Onigmo-Onigmo-${PV}" + +DOCS=(AUTHORS HISTORY README{,.ja} doc/{API,FAQ,RE}{,.ja} doc/UnicodeProps.txt) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable combination-explosion-check) \ + $(use_enable crnl-as-line-terminator) \ + $(use_enable static-libs static) +} + +src_install() { + default + einstalldocs + find "${D}" -name "*.la" -delete || die +} |