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.5, Repoman-2.3.2
- Loading branch information
Showing
2 changed files
with
32 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 ppx_here-0.9.0.tar.gz 7510 SHA256 789eebb555a21030ce0df639499122c95e1ca864ac3b5f2838a4a7d197aa7163 SHA512 2119b1b376cf44dd7eece5184816866e2cdfbf22b7792979718c76f4a2b381c48e149b1e12ff7ef800f96584cbe42bcff7a0249dca3b51e7bdd80da62f4f0cd2 WHIRLPOOL db46fac7a98173bca3cdf905bb44b3a2debfc97f695a8ec2f3dd054470f01c911104801296fc220ed3355f8428c3621d32d4b82f1013500304e80d960b5162af | ||
DIST ppx_here-0.9.1.tar.gz 7225 SHA256 0cd908cb9a62a537af69e6c6e1923d416ef44b47d5d1f18ea7131b000058cfdd SHA512 ca21fb490a4d980616349850b781e4ee02c0eb8a27e8ef9d4092d15ee235ffc504dab1b2a3db44fc6a84fa6b2cdbd67c0c4adbc41fb094b7bb9d4f710193aaf2 WHIRLPOOL daef00dd762c91a1ce253282abcfaf2db81f3d81ad9e963723a864fc315c408442f67260640748cb51771c138e21353dc81dece323f0c1520b1de2c36fb538e1 |
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,31 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
DESCRIPTION="Expands [%here] into its location" | ||
HOMEPAGE="https://github.com/janestreet/ppx_here" | ||
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
DEPEND=" | ||
dev-lang/ocaml:= | ||
dev-ml/ppx_core:= | ||
dev-ml/ppx_driver:= | ||
dev-ml/ppx_optcomp:= | ||
dev-ml/ocaml-migrate-parsetree:= | ||
" | ||
RDEPEND="${DEPEND}" | ||
DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder" | ||
|
||
src_install() { | ||
opam-installer -i \ | ||
--prefix="${ED}/usr" \ | ||
--libdir="${D}/$(ocamlc -where)" \ | ||
--docdir="${ED}/usr/share/doc/${PF}" \ | ||
${PN}.install || die | ||
} |