summaryrefslogtreecommitdiff
path: root/dev-ml/onanomsg/onanomsg-1.0.ebuild
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-05-09 08:52:56 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-09 09:14:21 +0200
commit92931e35533b6568378bbc0a5828068e25b72851 (patch)
treeab62249055b8cc64c13ce8ac468132510fde9a3a /dev-ml/onanomsg/onanomsg-1.0.ebuild
parent0155647a407669f341ce4007a56e627375419bca (diff)
downloadgentoo-92931e35533b6568378bbc0a5828068e25b72851.tar.gz
gentoo-92931e35533b6568378bbc0a5828068e25b72851.tar.xz
dev-ml/onanomsg: Backport upstream patch to use ocaml-bigstring, fixes build with latest ocaml-containers
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/onanomsg/onanomsg-1.0.ebuild')
-rw-r--r--dev-ml/onanomsg/onanomsg-1.0.ebuild46
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-ml/onanomsg/onanomsg-1.0.ebuild b/dev-ml/onanomsg/onanomsg-1.0.ebuild
deleted file mode 100644
index 902a0e6f6c3..00000000000
--- a/dev-ml/onanomsg/onanomsg-1.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit findlib
-
-DESCRIPTION="nanomsg bindings for OCaml"
-HOMEPAGE="https://github.com/rgrinberg/onanomsg"
-SRC_URI="https://github.com/rgrinberg/onanomsg/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="WTFPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="+lwt +ocamlopt test"
-
-RDEPEND="
- dev-libs/nanomsg:=
- dev-lang/ocaml:=[ocamlopt?]
- dev-ml/ocaml-ctypes:=
- dev-ml/ocaml-ipaddr:=[ocamlopt?]
- dev-ml/ppx_deriving:=[ocamlopt?]
- dev-ml/ocaml-containers:=[ocamlopt?]
- lwt? ( dev-ml/lwt:=[ocamlopt?] )
-"
-DEPEND="${RDEPEND}
- test? ( dev-ml/ounit )
-"
-
-src_compile() {
- ocaml pkg/build.ml \
- native=$(usex ocamlopt true false) \
- native-dynlink=$(usex ocamlopt true false) \
- lwt=$(usex lwt true false) \
- ounit=$(usex test true false) \
- || die
-}
-
-src_install() {
- opam-installer \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- || die
- dodoc CHANGES README.md
-}