You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ml/astring/astring-0.8.3.ebuild

26 lines
544 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit opam
DESCRIPTION="Alternative String module for OCaml"
HOMEPAGE="http://erratique.ch/software/astring https://github.com/dbuenzli/astring"
SRC_URI="http://erratique.ch/software/astring/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-lang/ocaml:=[ocamlopt]"
DEPEND="${RDEPEND}
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib"
src_compile() {
ocaml pkg/pkg.ml build || die
}