summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/schoca/Manifest1
-rw-r--r--dev-scheme/schoca/metadata.xml20
-rw-r--r--dev-scheme/schoca/schoca-0.3.0-r1.ebuild46
3 files changed, 0 insertions, 67 deletions
diff --git a/dev-scheme/schoca/Manifest b/dev-scheme/schoca/Manifest
deleted file mode 100644
index bf8840aaaa2..00000000000
--- a/dev-scheme/schoca/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST schoca-0.3.0.tar.bz2 49738 SHA256 5527a8bf07faa7e715626612735a044bf970480637d98eea612bf61bb7042511 SHA512 8095fed936f822810d441d7158b4416d74937e12cc1791e67d50388057d1d0e5d41b98686d92fd16f162bf34a4f861aa8f9e36e150fd643d5815da9f4720bae8 WHIRLPOOL 79499843bef0e0cedd43ac35e2242df5e4a5b3c2534de045d5bf1bb052e5c96cb5812e98d4012bfe5608d2b2bb4de47f8003322a9100de0cdb739295f980af1b
diff --git a/dev-scheme/schoca/metadata.xml b/dev-scheme/schoca/metadata.xml
deleted file mode 100644
index a583f76f940..00000000000
--- a/dev-scheme/schoca/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>scheme@gentoo.org</email>
- <name>Gentoo Scheme Project</name>
- </maintainer>
- <maintainer type="project">
- <email>ml@gentoo.org</email>
- <name>Gentoo ML Project</name>
- </maintainer>
- <longdescription lang="en">
- Schoca is an implementation of the Scheme language. The primary
- purpose of Schoca is the use as an embedded extension language
- in OCaml applications (e.g. the ibgsclient).
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">chesslib</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-scheme/schoca/schoca-0.3.0-r1.ebuild b/dev-scheme/schoca/schoca-0.3.0-r1.ebuild
deleted file mode 100644
index e0679466b84..00000000000
--- a/dev-scheme/schoca/schoca-0.3.0-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit eutils
-
-DESCRIPTION="Schoca is a Scheme implementation in OCaml"
-HOMEPAGE="https://sourceforge.net/projects/chesslib/"
-SRC_URI="mirror://sourceforge/chesslib/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+ocamlopt"
-
-DEPEND="dev-ml/findlib
- dev-lang/ocaml[ocamlopt?]
- dev-ml/camlp4[ocamlopt?]"
-RDEPEND="${DEPEND}"
-
-RESTRICT="installsources"
-
-src_configure() {
- sed "s:\$(CFLAGS):\$(CCFLAGS):g" -i OCaml.mk || die "sed failed"
- sed "s:CCFLAGS= -ccopt -O2:CCFLAGS= -ccopt \"${CFLAGS}\":" -i OCaml.mk || die "sed failed"
- sed -i -e "s:\$(LDFLAGS):-cclib \"${LDFLAGS}\":" OCaml.mk || die "sed failed"
- sed -i -e "s:DESTDURFLAG:DESTDIRFLAG:" OCaml.mk || die "sed failed"
- if ! use ocamlopt; then
- sed -i -e 's/ \$(PROGRAM)\.opt/ \$(PROGRAM)/' OCaml.mk || die "sed failed"
- sed -i -e 's/ \$(LIBRARY)\.cmxa//' OCaml.mk || die "sed failed"
- sed -i -e 's/ \$(LIBRARY)\.a//' OCaml.mk || die "sed failed"
- sed -i -e 's/) \$(NCOBJECTS)/)/' OCaml.mk || die "sed failed"
- fi
-}
-
-src_compile() {
- #parallel fails
- emake -j1
-}
-
-src_install() {
- use ocamlopt || export STRIP_MASK="*bin/schoca"
- dodir "$(ocamlfind printconf destdir)"
- emake PREFIX="/usr" DESTDIR="${D}" DESTDIRFLAG="-destdir ${D}$(ocamlfind printconf destdir)" install
-}