mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 07:26:58 +02:00
dev-libs/oniguruma: Sync with Gentoo
It's from Gentoo commit 9d1e6ccbc9e35d41f622afbef2a12f80354f54ba.
This commit is contained in:
parent
71d2f1ae27
commit
71df01dea4
@ -1,2 +1 @@
|
|||||||
DIST onig-6.9.8.tar.gz 944148 BLAKE2B ee7d91f2d3a7a41d675bcbb9d18490aa3e5a9edb8f3c6e880d27f2218c476499bba21088def41fbb5d500bfb2916af85c2489fca5bd846594fab53ac492531af SHA512 5a3d220961c22cda981bbae06dc383401771362cdf67e4f0b5d2fa8951a03907362edae498f63226287e70715c0abe4acdd22ec3ceb74bbb226234a52c36a4d7
|
|
||||||
DIST onig-6.9.9.tar.gz 957444 BLAKE2B d31f4caf5e14477ec1fd40ab764137b49046ac759f487432a129ebdf6da89b128218bb14b08f9359ac0b87286bcd309faa3878b26528926aab6f7d2e25e722b0 SHA512 14d2afd0d2cf86012c9959f221e9a77e7787e709c9dd7295d159e0a9ba89df52fa3edc59f95a6d859c34181e2e2e53e21b932b3eceb4d6ddeb2a3445ef951e95
|
DIST onig-6.9.9.tar.gz 957444 BLAKE2B d31f4caf5e14477ec1fd40ab764137b49046ac759f487432a129ebdf6da89b128218bb14b08f9359ac0b87286bcd309faa3878b26528926aab6f7d2e25e722b0 SHA512 14d2afd0d2cf86012c9959f221e9a77e7787e709c9dd7295d159e0a9ba89df52fa3edc59f95a6d859c34181e2e2e53e21b932b3eceb4d6ddeb2a3445ef951e95
|
||||||
|
@ -1,55 +0,0 @@
|
|||||||
# Copyright 2003-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="8"
|
|
||||||
|
|
||||||
inherit multilib-minimal
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
inherit autotools git-r3
|
|
||||||
|
|
||||||
EGIT_REPO_URI="https://github.com/kkos/oniguruma"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Regular expression library for different character encodings"
|
|
||||||
HOMEPAGE="https://github.com/kkos/oniguruma"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/kkos/${PN}/releases/download/v${PV}/onig-${PV}.tar.gz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0/5"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
||||||
IUSE="crnl-as-line-terminator static-libs"
|
|
||||||
|
|
||||||
BDEPEND=""
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
S="${WORKDIR}/onig-${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOCS=(AUTHORS HISTORY README{,_japanese} doc/{API,CALLOUTS.API,CALLOUTS.BUILTIN,FAQ,RE}{,.ja} doc/{SYNTAX.md,UNICODE_PROPERTIES})
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
eautoreconf
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE="${S}" econf \
|
|
||||||
--enable-posix-api \
|
|
||||||
$(use_enable crnl-as-line-terminator) \
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
einstalldocs
|
|
||||||
find "${ED}" -name "*.la" -delete || die
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user