mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ml/fpath: convert to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="File system paths for OCaml"
|
||||
HOMEPAGE="http://erratique.ch/software/fpath https://github.com/dbuenzli/fpath"
|
||||
SRC_URI="http://erratique.ch/software/fpath/releases/${P}.tbz"
|
||||
@@ -13,7 +15,6 @@ KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/ocaml:=
|
||||
dev-ml/result:=
|
||||
dev-ml/astring:=
|
||||
"
|
||||
@@ -26,11 +27,3 @@ DEPEND="${RDEPEND}
|
||||
src_compile() {
|
||||
ocaml pkg/pkg.ml build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
${PN}.install || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user