From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-libs/libpcre2/Manifest | 8 ++++ dev-libs/libpcre2/libpcre2-10.22.ebuild | 76 +++++++++++++++++++++++++++++++ dev-libs/libpcre2/libpcre2-10.23.ebuild | 76 +++++++++++++++++++++++++++++++ dev-libs/libpcre2/libpcre2-10.30.ebuild | 79 +++++++++++++++++++++++++++++++++ dev-libs/libpcre2/metadata.xml | 32 +++++++++++++ 5 files changed, 271 insertions(+) create mode 100644 dev-libs/libpcre2/Manifest create mode 100644 dev-libs/libpcre2/libpcre2-10.22.ebuild create mode 100644 dev-libs/libpcre2/libpcre2-10.23.ebuild create mode 100644 dev-libs/libpcre2/libpcre2-10.30.ebuild create mode 100644 dev-libs/libpcre2/metadata.xml (limited to 'dev-libs/libpcre2') diff --git a/dev-libs/libpcre2/Manifest b/dev-libs/libpcre2/Manifest new file mode 100644 index 000000000000..9e2d1b89b0a0 --- /dev/null +++ b/dev-libs/libpcre2/Manifest @@ -0,0 +1,8 @@ +DIST pcre2-10.22.tar.bz2 1470620 SHA256 b2b44619f4ac6c50ad74c2865fd56807571392496fae1c9ad7a70993d018f416 SHA512 dcf70b5e5b73f29188a56e4d9efb9afdf2b9ebe50e13a7640b80f543851235a289e476e1f517f49fac9628b456268bcdaf2b492237bc879ddff36f84ef4f32ea WHIRLPOOL 154ee1c4d2445878c2d2fd1eafa96584d8c943e9e545937b37d4c1fb12ba847938647184723d429244bf5aa989ba335cfbf74fadb5d38227862762bd34166232 +DIST pcre2-10.23.tar.bz2 1515314 SHA256 dfc79b918771f02d33968bd34a749ad7487fa1014aeb787fad29dd392b78c56e SHA512 3e5910bd2405cc35934d91e4be760abe4f2e900202a20b6ba74adb7a3acb2b74b3bf9b0e97e8de10f8e8534133e0722e0bf0f5fb40d6c2c4520d1ed61749d456 WHIRLPOOL 8db3deb22c26688607e1dc4b52229c64f8bcbb80908155ff9bd58b690a239984b6f5d1aff0cdc70efa3abf3ee899e22ea6e3a502437af424cb92d345133889a6 +DIST pcre2-10.30.tar.bz2 1583543 SHA256 90bd41c605d30e3745771eb81928d779f158081a51b2f314bbcc1f73de5773db SHA512 f247a9f917c75920793b9919a45bb1426d126246e7a5d04e39d9407e44b5781f894a90cd3d232b385436b2f22be391335ab782664dd3a28c79058a2fcc74dc3e WHIRLPOOL 4491d5ea682ee90dad91f5b1a3dccf482c17768ea5de3c5cca2fa2b56ba97180b746242e552fbe240b154f98eac5b11da466b86d34e9bfe7c7a202d4c976172f +EBUILD libpcre2-10.22.ebuild 2332 SHA256 3a0d46bea37789ae1e0a8a4eac80f4ac16fc345ae189fb22c7f463fe0f113498 SHA512 2dde1a17abd2795e57aa006a4b7f2a2e33c8d64d03ef1b9f106fad617f3b72ee0f897fe6e1263fa6244fb3e8c9a2ed18318fcd209232bed7825ef4cb71a46061 WHIRLPOOL 8e283e1e11b609c3e0ca0fcc8a9cb272dd17f40921ce1ffecc95b1c741fd2a567822d28ef7569d7b6db28ca3940af6d1d6a366eac37e99b6307c300222785b97 +EBUILD libpcre2-10.23.ebuild 2341 SHA256 8f1f06fc6905f1b5d1b10b48c85ea7d70a743af5a07d1282a4e93e82f422c5da SHA512 f6e07b46cebc6ea2a5414a1a023124a1078fe1a2f11b3e31b95758c7f77e95b6b455e86e89385811d6b5787584cbe3a0564d2aaf8e39f4112c9cb255641c79c1 WHIRLPOOL 5c003fff34d755a11267f6d63a2017f033a34e1532aa66a50003e9a515b81719da5696b50a17de4227bebf6639a3333f5ac36ce443a2d0ef276d095c50ddac3d +EBUILD libpcre2-10.30.ebuild 2352 SHA256 f98c21da22b59e60927228ad0625285ddd4ffed986d8c9228306f23c25085508 SHA512 1c090e317e3714f0a7a2837a38ed3531a07201a3a6b0e2c2f380f03e5dc359e0442a73b094ae4933d55deddedf13606627f9105bdc97de1233275ad61c10faff WHIRLPOOL f0853478298f552a0d6be9ab6568982c5164b506d2a03eace6af477b41b749a9b0ffac3a384dde5701abc79aa13910dc980b0761017d639ae2f66fd43d56a791 +MISC ChangeLog 636 SHA256 12a1be3879646cf26d749f847cb41a049712ef0bc0cd42ef666389d11b0d8cac SHA512 6d6c08973261f120a29f274a7de1723ee0f5c38243690cf924113a3c1b996d037fd9a7fbc4c73ccf875dd376d5313d754b047037bafdf084146c7efc0fa91fff WHIRLPOOL 997a8ba70ae1530a33990a1314ccafc36196d9030e5f876de87799eb0b0a94ebe98c9eb5933c43582e71f966b6cb65659584a8a48f11247eab15dede2cb541d2 +MISC metadata.xml 1106 SHA256 cd64d68c7f9bb87258163e531bf1d09960aebae9d281dd65f1667ffe7a77bf5a SHA512 8f2e0a7fd277da813c6aa00ff9ed9fe69443a6c738b2e66d09d5c5b4f6381110c1bab0a6b8be315f99f07254ae38c347aea4d50b54693bab3056c83830bec8cf WHIRLPOOL f8b130afaa6353e50c64788adcde3d1de6d4d895598883944c99c93321bdd429d59049123f85aeb695e3a99f806611d9a06a4f9c57ef0bc5d4656b65db8c73e4 diff --git a/dev-libs/libpcre2/libpcre2-10.22.ebuild b/dev-libs/libpcre2/libpcre2-10.22.ebuild new file mode 100644 index 000000000000..9b304c598688 --- /dev/null +++ b/dev-libs/libpcre2/libpcre2-10.22.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils libtool flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre2-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="?? ( libedit readline )" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + userland_GNU? ( >=sys-apps/findutils-4.4.0 )" + +S=${WORKDIR}/${MY_P} + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre2-config +) + +src_prepare() { + default + + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ + $(multilib_native_use_enable bzip2 pcre2grep-libbz2) \ + $(use_enable jit) $(use_enable jit pcre2grep-jit) \ + $(use_enable pcre16 pcre2-16) \ + $(use_enable pcre32 pcre2-32) \ + $(multilib_native_use_enable libedit pcre2test-libedit) \ + $(multilib_native_use_enable readline pcre2test-libreadline) \ + $(use_enable static-libs static) \ + $(use_enable unicode) \ + $(multilib_native_use_enable zlib pcre2grep-libz) \ + --enable-pcre2-8 \ + --enable-shared \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/dev-libs/libpcre2/libpcre2-10.23.ebuild b/dev-libs/libpcre2/libpcre2-10.23.ebuild new file mode 100644 index 000000000000..e0aeaa588742 --- /dev/null +++ b/dev-libs/libpcre2/libpcre2-10.23.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils libtool flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre2-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="?? ( libedit readline )" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + userland_GNU? ( >=sys-apps/findutils-4.4.0 )" + +S=${WORKDIR}/${MY_P} + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre2-config +) + +src_prepare() { + default + + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ + $(multilib_native_use_enable bzip2 pcre2grep-libbz2) \ + $(use_enable jit) $(use_enable jit pcre2grep-jit) \ + $(use_enable pcre16 pcre2-16) \ + $(use_enable pcre32 pcre2-32) \ + $(multilib_native_use_enable libedit pcre2test-libedit) \ + $(multilib_native_use_enable readline pcre2test-libreadline) \ + $(use_enable static-libs static) \ + $(use_enable unicode) \ + $(multilib_native_use_enable zlib pcre2grep-libz) \ + --enable-pcre2-8 \ + --enable-shared \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/dev-libs/libpcre2/libpcre2-10.30.ebuild b/dev-libs/libpcre2/libpcre2-10.30.ebuild new file mode 100644 index 000000000000..5e9a3da42808 --- /dev/null +++ b/dev-libs/libpcre2/libpcre2-10.30.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic libtool ltprune multilib-minimal toolchain-funcs + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +MY_P="pcre2-${PV/_rc/-RC}" +if [[ ${PV} != *_rc* ]] ; then + # Only the final releases are available here. + SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 + ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" +else + SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" +REQUIRED_USE="?? ( libedit readline )" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + libedit? ( dev-libs/libedit ) + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + userland_GNU? ( >=sys-apps/findutils-4.4.0 )" + +S="${WORKDIR}/${MY_P}" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pcre2-config +) + +src_prepare() { + default + + elibtoolize +} + +multilib_src_configure() { + local myeconfargs=( + --enable-pcre2-8 + --enable-shared + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + --with-match-limit-depth=$(usex recursion-limit 8192 MATCH_LIMIT) + $(multilib_native_use_enable bzip2 pcre2grep-libbz2) + $(multilib_native_use_enable libedit pcre2test-libedit) + $(multilib_native_use_enable readline pcre2test-libreadline) + $(multilib_native_use_enable zlib pcre2grep-libz) + $(use_enable jit) + $(use_enable jit pcre2grep-jit) + $(use_enable pcre16 pcre2-16) + $(use_enable pcre32 pcre2-32) + $(use_enable static-libs static) + $(use_enable unicode) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ + install + multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix +} + +multilib_src_install_all() { + prune_libtool_files +} diff --git a/dev-libs/libpcre2/metadata.xml b/dev-libs/libpcre2/metadata.xml new file mode 100644 index 000000000000..bc237ef19b6e --- /dev/null +++ b/dev-libs/libpcre2/metadata.xml @@ -0,0 +1,32 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + + Add support for pcregrep command to search within + bzip2-compressed files (via app-arch/bzip2). + + Build PCRE library for 16 bit characters (e.g. UTF-16). + Build PCRE library for 32 bit characters (e.g. UTF-32). + + Add support for command line editing to pcretest, through + sys-libs/readline. + + + Limit match recursion to 8192; if disabled, the default limit is + used, which is the same as the match limit. + + + Add support for pcregrep command to search within + gzip-compressed files (via sys-libs/zlib). + + + + cpe:/a:pcre:pcre + pcre + + -- cgit v1.2.3