Skip to content

Commit

Permalink
added 32bit support on amd64 for dev-libs/libre2
Browse files Browse the repository at this point in the history
  • Loading branch information
powerman committed Feb 12, 2012
1 parent c0cdfac commit 4a3628c
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev-libs/libre2/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
EBUILD libre2-100319.ebuild 622 RMD160 4c10cdf6aa16d1320c315b5746ca08d59f178599 SHA1 e11ccc5547b74669b9539975c957e62ce71c2161 SHA256 be1d6d0d0f4e9d74f53c3414d0f9e1a9ae4e428f6aa2980a6ae99e327b866e48
EBUILD libre2-110302.ebuild 622 RMD160 956574c99348c2ce1b416dee592cbea9f096ec1c SHA1 b77addd2f983e623bb9f85e0886699112390e003 SHA256 a8553c40f6e2697c4a254ddc680d38104a8a6a2abb8139c6bb8f48ca464d86ea
EBUILD libre2-110721-r1.ebuild 700 RMD160 752b25de27fa065ec670a3d81ab6f3f94895f364 SHA1 b0390eae4c34b1f43b5eac378bfe55cfb5f15b1b SHA256 d5f225ef086f9b174b4f2b3451c87f42bc3eb5fef0360995aee0b833ff3749b9
EBUILD libre2-110721.ebuild 622 RMD160 dd38a7a66ea816eca856a78c77af9c50a7deb5fd SHA1 664d7c567c662dd8ec10d32353415e929837bdfa SHA256 4b7e0d9b7428f2af1a56d114d2b406f2b0affeac8d2e05bee4dd2ca6e9b1a112
39 changes: 39 additions & 0 deletions dev-libs/libre2/libre2-110721-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit flag-o-matic eutils toolchain-funcs multilib

DESCRIPTION="an efficient, principled regular expression library"
HOMEPAGE="http://code.google.com/p/re2/"
SRC_URI=""

LICENSE="BSD"
SLOT=0
KEYWORDS="~x86 ~amd64"
IUSE="32bit"

RDEPEND=""

DEPEND="${RDEPEND}
dev-vcs/mercurial
"

src_unpack() {
hg clone https://re2.googlecode.com/hg ${P}
cd "${S}"
hg update -r 7007b2180a42 || die
}

src_compile() {
use 32bit && ABI=x86
emake
}

src_install() {
dodir /usr/include/re2
insinto /usr/include/re2
doins re2/{re2,stringpiece,variadic_function}.h
dolib obj/libre2.a
}

5 changes: 3 additions & 2 deletions profiles/use.local.desc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dev-inferno/inferno:re2 - Enable support for libre2.
mail-mta/netqmail:outgoingips - Enable control of outgoing IP.
dev-inferno/inferno:re2 - Enable support for libre2
mail-mta/netqmail:outgoingips - Enable control of outgoing IP
dev-libs/libre2:32bit - For amd64-multilib, installs the 32-bit library

0 comments on commit 4a3628c

Please sign in to comment.