dev-ml/ocamldsort: drop backward compat dep on camlp4
authorAlexis Ballier <aballier@gentoo.org>
Fri, 24 Jun 2016 09:55:04 +0000 (11:55 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 24 Jun 2016 09:55:04 +0000 (11:55 +0200)
Package-Manager: portage-2.3.0
RepoMan-Options: --force

dev-ml/ocamldsort/ocamldsort-0.16.0-r1.ebuild [new file with mode: 0644]

diff --git a/dev-ml/ocamldsort/ocamldsort-0.16.0-r1.ebuild b/dev-ml/ocamldsort/ocamldsort-0.16.0-r1.ebuild
new file mode 100644 (file)
index 0000000..c5716d5
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A dependency sorter for OCaml source files"
+HOMEPAGE="http://dimitri.mutu.net/ocaml.html"
+SRC_URI="ftp://quatramaran.ens.fr/pub/ara/ocamldsort/${P}.tar.gz"
+LICENSE="LGPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/ocaml-3.12:=
+       dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+src_compile() {
+       emake -j1
+}
+
+src_install() {
+       emake BINDIR="${ED}/usr/bin" MANDIR="${ED}/usr/share/man" install
+       dodoc README THANKS Changes
+}