diff options
author | 2012-07-05 22:51:46 +0300 | |
---|---|---|
committer | 2012-07-05 22:51:46 +0300 | |
commit | 198d7ae7f012e40252f88a2ba8a46042a31f06ff (patch) | |
tree | 39a68d861bd5ed59c2a1b8831a616482c8906464 /dev-libs | |
parent | dev-util/monkeystudio: Remove, package has been moved to the main tree. (diff) | |
download | sunrise-198d7ae7f012e40252f88a2ba8a46042a31f06ff.tar.gz sunrise-198d7ae7f012e40252f88a2ba8a46042a31f06ff.tar.bz2 sunrise-198d7ae7f012e40252f88a2ba8a46042a31f06ff.zip |
dev-libs/re2: New ebuild for bug#310605, thanks to hasufell and Tommy[D]
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/re2/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/re2/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/re2/files/re2-0_pre20120629-makefile.patch | 23 | ||||
-rw-r--r-- | dev-libs/re2/metadata.xml | 7 | ||||
-rw-r--r-- | dev-libs/re2/re2-0_pre20120629.ebuild | 26 |
5 files changed, 72 insertions, 0 deletions
diff --git a/dev-libs/re2/ChangeLog b/dev-libs/re2/ChangeLog new file mode 100644 index 000000000..817191072 --- /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: $ + +*re2-0_pre20120629 (05 Jul 2012) + + 05 Jul 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com + +re2-0_pre20120629.ebuild, +files/re2-0_pre20120629-makefile.patch, + +metadata.xml: + New ebuild for bug#310605, thanks to hasufell and Tommy[D] + diff --git a/dev-libs/re2/Manifest b/dev-libs/re2/Manifest new file mode 100644 index 000000000..50fe7a291 --- /dev/null +++ b/dev-libs/re2/Manifest @@ -0,0 +1,5 @@ +AUX re2-0_pre20120629-makefile.patch 474 RMD160 7f8d112bf890ec25e222167c2735021eed6fb418 SHA1 21d5b2714b21c27f2bd48a3442822558fafbc76c SHA256 20fd14f0a5ea4ead6e3811c8a465f397899f4835bace7a6acf002e47e40f2fb1 +DIST re2-0_pre20120629.tar.gz 1007476 RMD160 5c14eb795ee8fbca8a1d9f0c8393916cd5621e6d SHA1 6cd3a3a12a9a611ae4e73a07eb1850b7f477e562 SHA256 03dabaa583d1405f6e0bd1f78c743e15c1232b951256ccc70dacc56586998d39 +EBUILD re2-0_pre20120629.ebuild 563 RMD160 de904957d9bef79eab4b51deaa63a69df55b909c SHA1 a7dd2450fb88d054befb1b4daf3695e5bdace984 SHA256 c5bb79166f21963e9a9f19640ebd7ada31e3100342e961cb3f8240fa4f81d3d3 +MISC ChangeLog 359 RMD160 b641b71cb6ff7d001ee5acfef95ef62a55ed30dd SHA1 89ad8211e0816e743c563fbd02c63b1520e5f0e5 SHA256 1a8e6601777c3fc1d572ef58aace5b3bd31a44bff2335c4546652630ca37bf2b +MISC metadata.xml 214 RMD160 efd8175069efb91061298ff4584218b633e44678 SHA1 d372fdbfcb7fd07a4082961d3f3527be4fca1d60 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 diff --git a/dev-libs/re2/files/re2-0_pre20120629-makefile.patch b/dev-libs/re2/files/re2-0_pre20120629-makefile.patch new file mode 100644 index 000000000..c5bacde58 --- /dev/null +++ b/dev-libs/re2/files/re2-0_pre20120629-makefile.patch @@ -0,0 +1,23 @@ +respect flags/compiler + +--- Makefile ++++ Makefile +@@ -9,13 +9,13 @@ + # CCPCRE=-I/usr/local/include -DUSEPCRE + # LDPCRE=-L/usr/local/lib -lpcre + +-CXX=g++ +-CXXFLAGS=-Wall -O3 -g -pthread # can override ++CXX ?= g++ ++CXXFLAGS += -pthread + RE2_CXXFLAGS=-Wno-sign-compare -c -I. $(CCPCRE) # required +-LDFLAGS=-pthread +-AR=ar ++LDFLAGS += -pthread ++AR ?= ar + ARFLAGS=rsc +-NM=nm ++NM ?= nm + NMFLAGS=-p + + # Variables mandated by GNU, the arbiter of all good taste on the internet. diff --git a/dev-libs/re2/metadata.xml b/dev-libs/re2/metadata.xml new file mode 100644 index 000000000..cc3fe2494 --- /dev/null +++ b/dev-libs/re2/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-wanted@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/re2/re2-0_pre20120629.ebuild b/dev-libs/re2/re2-0_pre20120629.ebuild new file mode 100644 index 000000000..1bf9da446 --- /dev/null +++ b/dev-libs/re2/re2-0_pre20120629.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="An efficient regular expression library written in C++" +HOMEPAGE="http://code.google.com/p/re2/" +SRC_URI="mirror://github/jauhien/sources/${P}.tar.gz" + +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + tc-export CXX AR NM + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_install() { + emake DESTDIR="${D}" prefix="/usr" libdir="/usr/$(get_libdir)" install +} |