diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-10-26 15:22:15 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-10-26 15:22:15 +0200 |
commit | b7ff52308ac5c7a2ccae0a75174236d27f5623e6 (patch) | |
tree | f464d149d1bc0cf45a24b9f3486e5f5b5a750e51 /dev-libs/onigmo | |
parent | net-analyzer/prometheus-node_exporter: Remove old (diff) | |
download | gentoo-b7ff52308ac5c7a2ccae0a75174236d27f5623e6.tar.gz gentoo-b7ff52308ac5c7a2ccae0a75174236d27f5623e6.tar.bz2 gentoo-b7ff52308ac5c7a2ccae0a75174236d27f5623e6.zip |
dev-libs/onigmo: Initial version
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'dev-libs/onigmo')
-rw-r--r-- | dev-libs/onigmo/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/onigmo/metadata.xml | 22 | ||||
-rw-r--r-- | dev-libs/onigmo/onigmo-6.1.3.ebuild | 37 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/onigmo/Manifest b/dev-libs/onigmo/Manifest new file mode 100644 index 000000000000..f8011bba690c --- /dev/null +++ b/dev-libs/onigmo/Manifest @@ -0,0 +1 @@ +DIST onigmo-6.1.3.tar.gz 834303 SHA256 3e65b134e415daf71f950b30549cf6bf258425af205c737f64525e3791079495 SHA512 dbae545ca79f8976b5e7f90f08301eb53a2c2f36c1ea62492badfbcfdd61679b68e3197765a2f9753bc033829c15d7fb24db307654b0ddb65774c88d122476fe WHIRLPOOL 1a8775f1b409039f8d6e1c1e520a0a4c2af4f42f60998d91cc704aba9c228181709c2bcedbe3f8e15f0f4fada6fdbf1d6c07026813b6b0e18c4e4e9aa890e004 diff --git a/dev-libs/onigmo/metadata.xml b/dev-libs/onigmo/metadata.xml new file mode 100644 index 000000000000..13d462e45dc0 --- /dev/null +++ b/dev-libs/onigmo/metadata.xml @@ -0,0 +1,22 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <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..559e33955305 --- /dev/null +++ b/dev-libs/onigmo/onigmo-6.1.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 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" +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 +} |