diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2012-10-31 03:36:41 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2012-10-31 03:36:41 +0000 |
commit | 082d10bd36c4696eccb29fa97457bbaf0e24a6ee (patch) | |
tree | 812d1101fe52e13591253350b0813d609e796564 /dev-libs/re2 | |
parent | stable arm, bug #440318 (diff) | |
download | historical-082d10bd36c4696eccb29fa97457bbaf0e24a6ee.tar.gz historical-082d10bd36c4696eccb29fa97457bbaf0e24a6ee.tar.bz2 historical-082d10bd36c4696eccb29fa97457bbaf0e24a6ee.zip |
Initial import. Ebuild by me, Mike Gilbert (floppym) and Jauhien Piatlicki. Bug #310605 by Alex Efros.
Package-Manager: portage-2.1.11.9/cvs/Linux i686
Diffstat (limited to 'dev-libs/re2')
-rw-r--r-- | dev-libs/re2/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/re2/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/re2/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/re2/re2-0_p20121029.ebuild | 45 |
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-libs/re2/ChangeLog b/dev-libs/re2/ChangeLog new file mode 100644 index 000000000000..126472478b3f --- /dev/null +++ b/dev-libs/re2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/re2 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/re2/ChangeLog,v 1.1 2012/10/31 03:36:41 phajdan.jr Exp $ + +*re2-0_p20121029 (31 Oct 2012) + + 31 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> +re2-0_p20121029.ebuild, + +metadata.xml: + Initial import. Ebuild by me, Mike Gilbert (floppym) and Jauhien Piatlicki. + Bug #310605 by Alex Efros. + diff --git a/dev-libs/re2/Manifest b/dev-libs/re2/Manifest new file mode 100644 index 000000000000..768ded6c9c4c --- /dev/null +++ b/dev-libs/re2/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST re2-20121029.tgz 1018117 SHA256 197f3169e23f18367a8b9148c5d622faf19b72d844b2df2c9ec4475e68492882 SHA512 2d6b2e1c30d09690fa3c8ee36f5e1c6b2b057dc33f365fbe4e213e51f23d7861b15259fb9e476716320119134022618c9c418ce4716765febfe0bfc0ddc82822 WHIRLPOOL 97c46c95ccd58a88a7dbbb8e7677685bac76fbf63f7cb9e0d4fb3df806be032d4780099b716bad7a0f66825e65d973bbc737f4eb308d75c3122c7b2c3c590a8c +EBUILD re2-0_p20121029.ebuild 1117 SHA256 9a3ef5f9f42a5fd4b861c9bac4c30dfd58927515fabea896852e435772837238 SHA512 28014c50727b7d7e6a86abea0bc06461e8ddf2c01efd625eb195ec50757fd9896cc1e70a9c9e8b3a5b4dbf6b15e5999b970467bdef037e2dbb33b1ad0c778e08 WHIRLPOOL d4731cbc5712aaf6fb6b273762f1d69908f264923e022494f3519a556ce14584a90b0cd7e297239bba5584b29169d01a0996ea4fa6a4f738911d47f54711f136 +MISC ChangeLog 438 SHA256 efffb97283e57deb571e2a816c59913e3283a9abf0dc8af1911aac473e9e20a7 SHA512 ee86d7b7fa49aa5394bd5c14969b082507b339993bacc5afb6e35ac723013bef3c3832fab647b36652d98058b760666979d2248b08f0eda91a477714a1770d8e WHIRLPOOL 5fa28bb08125b5ed8ddd2c5d2a2fe2caaf13b4a18c12bbdeb60f99c09097ba560f19336cd0cc8985655ddd90bb3ae662cda54cbf8f0dff00007781b400c5ea74 +MISC metadata.xml 162 SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8 SHA512 51796fe7e55b73dbfbe4a6b5fd089f5e8e4d327ff67d4a267692dda38380df5048ea77e8f058c466ae17726af5f099a3240b0500d53e421d95acc583164d3fe9 WHIRLPOOL 279b6ed997fab0d4278c01814bdd067068bceff8d1ce9933087828ce7598513b5a809013c996a3b134da6072c698a87ae151cfb56407fd62ff465b165197f5bf +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlCQnNMACgkQuUQtlDBCeQJLMgCghJLrwmDBvO8duxEyG/u5zciv +YCkAnjqYt73LLsnDN+TxUYwAHPbOzIl8 +=Xs8L +-----END PGP SIGNATURE----- diff --git a/dev-libs/re2/metadata.xml b/dev-libs/re2/metadata.xml new file mode 100644 index 000000000000..fffcfc8b794e --- /dev/null +++ b/dev-libs/re2/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>chromium</herd> +</pkgmetadata> diff --git a/dev-libs/re2/re2-0_p20121029.ebuild b/dev-libs/re2/re2-0_p20121029.ebuild new file mode 100644 index 000000000000..3aafb39ae77f --- /dev/null +++ b/dev-libs/re2/re2-0_p20121029.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/re2/re2-0_p20121029.ebuild,v 1.1 2012/10/31 03:36:41 phajdan.jr Exp $ + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="An efficent, principled regular expression library" +HOMEPAGE="http://code.google.com/p/re2/" +SRC_URI="http://re2.googlecode.com/files/${PN}-${PV##*_p}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# TODO: the directory in the tarball should really be versioned. +S="${WORKDIR}/${PN}" + +pkg_setup() { + makeopts=( + AR="$(tc-getAR)" + CXX="$(tc-getCXX)" + CXXFLAGS="${CXXFLAGS} -pthread" + LDFLAGS="${LDFLAGS} -pthread" + NM="$(tc-getNM)" + ) +} + +src_compile() { + emake "${makeopts[@]}" +} + +src_test() { + emake "${makeopts[@]}" shared-test shared-bigtest +} + +src_install() { + emake DESTDIR="${ED}" prefix=usr libdir=usr/$(get_libdir) install + # TODO: the upstream should not build static library at all. + rm "${ED}/usr/$(get_libdir)/libre2.a" || die + dodoc AUTHORS CONTRIBUTORS README doc/syntax.txt + dohtml doc/syntax.html +} |