forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST textutils-113.33.00.tar.gz 63765 SHA256 abe22409017c003f1c3da7e2a9ae4e139a4e470c3e4b2d009fda66a009f2427a SHA512 64f9c452ab2fa2b418f75f3295fb9b42d7c8c9994fed1591e92bb5298fea0548586e16b118fb8e5dc088a9b34055832ae5e6c3781aa6abb8754e8239ebb53fd9 WHIRLPOOL 0a16263d4cce85d4442acf465c53fc7b5b19572c4b192e6d6bdc7c25a012b320a0523a428009d0fa69814cfd2942331eca04442bbab84cb6bc5daf069f18c3b2 | ||
DIST textutils-113.33.03.tar.gz 62733 SHA256 d24fe5ae746ef33426b110eec5c6af7695df6d4763ca8fe5721334e5cb5aef7a SHA512 1db73b68ddf1206a742b513ae18ff459a54c2534e5bf443417afd574e57d545884435c7b4a56001bed280df2b921aeb110c1421258564db5e11581a8a8a3cdaf WHIRLPOOL d5ff989a3891505e6fb6b592ab1b0900237b4e0331b74958e1e69e690584d997919a2467e0e7be03cfde65467cf3e317329e7fa60a18858d2285363299fa2404 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
inherit oasis | ||
|
||
DESCRIPTION="Text output utilities" | ||
HOMEPAGE="https://ocaml.janestreet.com/" | ||
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
RDEPEND=" | ||
>=dev-lang/ocaml-4.02[ocamlopt?] | ||
>=dev-ml/core-109.24:= | ||
dev-ml/fieldslib:= | ||
dev-ml/ppx_assert:= | ||
dev-ml/ppx_bench:= | ||
dev-ml/ppx_driver:= | ||
dev-ml/ppx_expect:= | ||
dev-ml/ppx_inline_test:= | ||
dev-ml/ppx_jane:= | ||
>=dev-ml/sexplib-113.24:= | ||
dev-ml/typerep:= | ||
dev-ml/variantslib:= | ||
" | ||
DEPEND="${RDEPEND} dev-ml/opam" | ||
|
||
src_configure() { | ||
emake setup.exe | ||
OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure | ||
} | ||
|
||
src_compile() { | ||
emake | ||
} | ||
|
||
src_install() { | ||
opam-installer -i \ | ||
--prefix="${ED}/usr" \ | ||
--libdir="${D}/$(ocamlc -where)" \ | ||
--docdir="${ED}/usr/share/doc/${PF}" \ | ||
${PN}.install || die | ||
dodoc CHANGES.md | ||
} |