diff options
author | Pawel Hajdan, Jr <phajdan.jr@gentoo.org> | 2017-03-27 14:37:09 +0000 |
---|---|---|
committer | Pawel Hajdan, Jr <phajdan.jr@gentoo.org> | 2017-03-27 21:27:58 +0200 |
commit | 204a605fa668f3f03764ad56791eaffa2f0f6e46 (patch) | |
tree | f99da62aa6efe9cfb63d0168277b1590a4ef4c48 /dev-libs | |
parent | x11-libs/libdrm: Call epatch_user (diff) | |
download | gentoo-204a605fa668f3f03764ad56791eaffa2f0f6e46.tar.gz gentoo-204a605fa668f3f03764ad56791eaffa2f0f6e46.tar.bz2 gentoo-204a605fa668f3f03764ad56791eaffa2f0f6e46.zip |
dev-libs/re2: bump to 0.2017.03.01 (bug #613318 by mrueg@)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/re2/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/re2/re2-0.2017.03.01.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/re2/Manifest b/dev-libs/re2/Manifest index 2a801ea55b49..760813602f73 100644 --- a/dev-libs/re2/Manifest +++ b/dev-libs/re2/Manifest @@ -1,2 +1,3 @@ DIST re2-2016-05-01.tar.gz 399509 SHA256 d9d13f0ea4e1c6628b1cb85eeee284d4fdd4948da94b1f205096254927092e3d SHA512 6d37ab1eae51a73f60d3c8280ea1162c420638363f0eb1313d7c2d5cee65a5abd4c2927da1a53572afbcb7d07fac2993a7e54c6cbc85e24aaae93c46dab19b14 WHIRLPOOL b601349800341d213b01219cf2171873be551488c71c2c06fbab1da27c20719fca12e0cfac30ac4e8ed0eb062a445b4c008491fd0e379f629434e0c9b4649a7e DIST re2-2016-11-01.tar.gz 379816 SHA256 01ee949f03e1c4057dc533cf139f967fb1b427015769d53b9ee07757631e9669 SHA512 1be7d2551737cb9dc1031dac9335f82dfb58f3612bdb745bf6c5121334bf8689bb0564b751c23e4c002478cc46cc237ce4da294090adb983b0c1db25a9fac0a7 WHIRLPOOL 447b1ddb74826f3e73fe895690eac4f482096e05b88fbe3a143db0e2275031db6fa0cb2105ac09ab4b250db2bdef7097a75e3b4c8a04f23aa936009ea2f27439 +DIST re2-2017-03-01.tar.gz 382241 SHA256 19db0b87bdc22e7e4c66af17f3170167a1b9cb9e32fd6b26189157f1336b73e8 SHA512 566a3ff6598fc9b26dcabe175efa48becd38459185d6bb86b3abb1856a3e7b0f9b5e302594b1ac4817dcb5968920df43d23279a6cff2a74b6b0c174dc9379f88 WHIRLPOOL 582ed59085594a95f412f79bf381608c1b52f9be00fce6e6641b3386c266c1c8413263756e67699cf61295e4a3c1cbf1f46ae30b09e83f633e0f2ecd842dfb0e diff --git a/dev-libs/re2/re2-0.2017.03.01.ebuild b/dev-libs/re2/re2-0.2017.03.01.ebuild new file mode 100644 index 000000000000..0410c18f841f --- /dev/null +++ b/dev-libs/re2/re2-0.2017.03.01.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal toolchain-funcs + +# Different date format used upstream. +RE2_VER=${PV#0.} +RE2_VER=${RE2_VER//./-} + +DESCRIPTION="An efficent, principled regular expression library" +HOMEPAGE="https://github.com/google/re2" +SRC_URI="https://github.com/google/re2/archive/${RE2_VER}.tar.gz -> re2-${RE2_VER}.tar.gz" + +LICENSE="BSD" +# NOTE: Always run libre2 through abi-compliance-checker! +# https://abi-laboratory.pro/tracker/timeline/re2/ +SONAME="gentoo-2017-03-01" +SLOT="0/${SONAME}" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="icu" + +RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + icu? ( virtual/pkgconfig )" + +S="${WORKDIR}/re2-${RE2_VER}" + +DOCS=( AUTHORS CONTRIBUTORS README doc/syntax.txt ) +HTML_DOCS=( doc/syntax.html ) + +src_prepare() { + default + grep -qv '^SONAME=0$' Makefile || die "Check SONAME in Makefile" + if use icu; then + sed -i -e 's:^# \(\(CC\|LD\)ICU=.*\):\1:' Makefile || die + fi + multilib_copy_sources +} + +src_configure() { + tc-export AR CXX NM +} + +multilib_src_compile() { + emake SONAME="${SONAME}" +} + +multilib_src_install() { + emake SONAME="${SONAME}" DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="\$(exec_prefix)/$(get_libdir)" install +} |