mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ml/pcre-ocaml: remove old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pcre-ocaml-6.2.5.tar.gz 60724 SHA256 f1774028a4525d22d1f4cf4ce0121c99d85a75aed7a498c3e8ab0f5e39888e47 SHA512 9665643165beea8515f22d90a6a0f079108826ec46ce89248c795e982f9b4ddecc0e882a32a9893acac1001d810aad7f3bc7d7b6162ab1260fa4f698c91e04b9 WHIRLPOOL c99da092f8e78de19ea624a021a088b3e19b1accd2b33bc084179f7c1b88e8ac2b51c143321a792067e325568d6ea4c059fc57ac9da477e998cda3936140567c
|
||||
DIST pcre-ocaml-7.2.3.tar.gz 88307 SHA256 6339694dbeb706c5097180ed1d79b2dae681bf155a4780a7909af49b0e6f4666 SHA512 3df4bdbbed5e1ecf4bdf15fc461f2ea65e1556af9c1683e194c8824e21da5274dd80c22c1f6676fca203305ec4244d47e09f0ef8c601bfa95f7237bb07c1ee65 WHIRLPOOL 5835811cc1aecfffa9a49704db545ff20a30089ad7bb2b9394cf20dc9c657b0f102d12e48c8eaab9d8e95eee3ca756b60a17e1715e0aca05b7a9665d6dcc558f
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
Index: pcre-ocaml-6.0.1/lib/META
|
||||
===================================================================
|
||||
--- pcre-ocaml-6.0.1.orig/lib/META
|
||||
+++ pcre-ocaml-6.0.1/lib/META
|
||||
@@ -4,4 +4,4 @@ description="Perl Compatibility Regular
|
||||
requires=""
|
||||
archive(byte)="pcre.cma"
|
||||
archive(native)="pcre.cmxa"
|
||||
-linkopts = ""
|
||||
+linkopts = "-cclib -lpcre"
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
DESCRIPTION="Perl Compatibility Regular Expressions for O'Caml"
|
||||
HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
|
||||
SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
|
||||
>=dev-libs/libpcre-4.5"
|
||||
DEPEND="${RDEPEND}"
|
||||
SLOT="0"
|
||||
IUSE="examples +ocamlopt"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
|
||||
CLIBS="" # Workaround for bug #422663
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-6.0.1-linkopts.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/lib"
|
||||
emake byte-code-library || die "Failed to build byte code library"
|
||||
if use ocamlopt; then
|
||||
emake native-code-library || die "Failed to build native code library"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
export OCAMLFIND_INSTFLAGS="-optional"
|
||||
findlib_src_install
|
||||
|
||||
# install documentation
|
||||
dodoc README.txt Changelog
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user