Skip to content

Commit

Permalink
dev-ml/atd: split atdgen again
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
aballier committed Jun 23, 2017
1 parent 4fd0cda commit a42256b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions dev-ml/atd/atd-1.12.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,27 @@ SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt"
IUSE="+ocamlopt test"

DEPEND="
dev-lang/ocaml:=[ocamlopt?]
dev-ml/easy-format:=[ocamlopt?]
dev-ml/menhir:=[ocamlopt?]
dev-ml/biniou:=
dev-ml/yojson:=
!dev-ml/atdgen
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/jbuilder
dev-ml/opam
test? (
dev-ml/biniou
dev-ml/yojson
)
"

src_compile() {
jbuilder build -p atd || die
}

oinstall() {
opam-installer -i \
--prefix="${ED}/usr" \
Expand All @@ -38,5 +43,4 @@ oinstall() {

src_install() {
oinstall atd
oinstall atdgen
}

0 comments on commit a42256b

Please sign in to comment.