diff options
Diffstat (limited to 'dev-libs/re2/re2-0_p20130115-r1.ebuild')
-rw-r--r-- | dev-libs/re2/re2-0_p20130115-r1.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-libs/re2/re2-0_p20130115-r1.ebuild b/dev-libs/re2/re2-0_p20130115-r1.ebuild deleted file mode 100644 index fdda0ab97a9a..000000000000 --- a/dev-libs/re2/re2-0_p20130115-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib multilib-build toolchain-funcs - -DESCRIPTION="An efficent, principled regular expression library" -HOMEPAGE="https://code.google.com/p/re2/" -SRC_URI="https://re2.googlecode.com/files/${PN}-${PV##*_p}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -# TODO: the directory in the tarball should really be versioned. -S="${WORKDIR}/${PN}" - -src_prepare() { - # Fix problems with FilteredRE2 symbols not being exported. - epatch "${FILESDIR}/${PN}-symbols-r0.patch" - multilib_copy_sources -} - -mymake() { - cd "${BUILD_DIR}" || die - local makeopts=( - AR="$(tc-getAR)" - CXX="$(tc-getCXX)" - CXXFLAGS="${CXXFLAGS} -pthread" - LDFLAGS="${LDFLAGS} -pthread" - NM="$(tc-getNM)" - ) - emake "${makeopts[@]}" "$@" -} - -src_compile() { - multilib_foreach_abi mymake -} - -src_test() { - multilib_foreach_abi mymake shared-test -} - -src_install() { - myinstall() { - cd "${BUILD_DIR}" || die - emake DESTDIR="${ED}" prefix=usr libdir=usr/$(get_libdir) install - multilib_check_headers - } - multilib_foreach_abi myinstall - dodoc AUTHORS CONTRIBUTORS README doc/syntax.txt - dohtml doc/syntax.html -} |