summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-09-03 22:37:54 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-09-03 22:39:14 +0900
commitb48a28b4d4305ef5554ab6365a7dafa6fd18b9cc (patch)
tree215b80c097476bb2d94b83e65978e52c005d519b /dev-libs
parentdev-libs/onigmo: update to EAPI 7 (diff)
downloadgentoo-b48a28b4d4305ef5554ab6365a7dafa6fd18b9cc.tar.gz
gentoo-b48a28b4d4305ef5554ab6365a7dafa6fd18b9cc.tar.bz2
gentoo-b48a28b4d4305ef5554ab6365a7dafa6fd18b9cc.zip
dev-libs/onigmo: new upstream release
Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/onigmo/Manifest1
-rw-r--r--dev-libs/onigmo/metadata.xml36
-rw-r--r--dev-libs/onigmo/onigmo-6.2.0.ebuild34
3 files changed, 53 insertions, 18 deletions
diff --git a/dev-libs/onigmo/Manifest b/dev-libs/onigmo/Manifest
index 5ae4efdd1e26..c0a02fccafc4 100644
--- a/dev-libs/onigmo/Manifest
+++ b/dev-libs/onigmo/Manifest
@@ -1 +1,2 @@
DIST onigmo-6.1.3.tar.gz 822127 BLAKE2B b2f020ba37c039022ee4ad0840006b7d84bd5c2b24975d3cc34a625379c478cdfacbb7247d5f2315da2e56beaa74fec5390140d4a3f0c29c66906d78d7207b8b SHA512 13ee0e97e5e7ea2a379cdfd8bab121ee116fc07495c6b3131621f6cd9b1748897e5e2c7dcf43845794b2ad4adef3b4076daf06f51aaf965e32cbac5d7bace1e6
+DIST onigmo-6.2.0.tar.gz 844935 BLAKE2B 768918af337be0bbe9fd9c9f15a630ce0a74f081832ef84ba13e48f4e6ed692ff1250e20272c039d95bb4d9b847bfaac829addd7de3f50780b7620b1f105406c SHA512 651ab8c64d8b8c0d56e1549809030be79a751b9d1c06af6527f8cf6014fba1bafea593d572e1cf766099a10fb4e6506ca683ef48131f47471348b5cbd35a1a77
diff --git a/dev-libs/onigmo/metadata.xml b/dev-libs/onigmo/metadata.xml
index b1cea8c977b4..2914fe8f54bc 100644
--- a/dev-libs/onigmo/metadata.xml
+++ b/dev-libs/onigmo/metadata.xml
@@ -1,22 +1,22 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</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>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</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.2.0.ebuild b/dev-libs/onigmo/onigmo-6.2.0.ebuild
new file mode 100644
index 000000000000..43b020ab66c9
--- /dev/null
+++ b/dev-libs/onigmo/onigmo-6.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit autotools multilib-minimal
+
+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^o}/releases/download/${P^o}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/6"
+KEYWORDS="~amd64 ~x86"
+IUSE="combination-explosion-check crnl-as-line-terminator static-libs"
+
+DOCS=( AUTHORS HISTORY README{,.ja} doc/{API,FAQ,RE}{,.ja} doc/UnicodeProps.txt )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable combination-explosion-check) \
+ $(use_enable crnl-as-line-terminator) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${D}" -name "*.la" -delete || die
+}