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.
dev-ml/angstrom-unix: import split 0.6 version
Package-Manager: Portage-2.3.6, Repoman-2.3.3
- Loading branch information
Showing
3 changed files
with
54 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST angstrom-0.6.0.tar.gz 80393 SHA256 9080c6ad32ee5c31ae5b754370328daa5febb219ae2a1e8390fb469622dca7ee SHA512 4b03022f3e8147075653a9740473ce23fc42ba8c559f1b86311132fa1a09cfac0f044cb3a8c9fc2d97f4acef35806b4742606b0af22d6b07058e8a78c6672618 WHIRLPOOL a79f7e522e645b605eabb155c604cf6e2e435e9325551a22efbe5c1b12f57726c8ccdad510ef618cc510b409acc6cb86204630ecb4cf1af6d1adc628bb19dd33 |
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,42 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
inherit findlib | ||
|
||
DESCRIPTION="Parser combinators built for speed and memory efficiency" | ||
HOMEPAGE="https://github.com/inhabitedtype/angstrom" | ||
SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> angstrom-${PV}.tar.gz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
RDEPEND=" | ||
dev-lang/ocaml:= | ||
dev-ml/angstrom:= | ||
" | ||
DEPEND="${RDEPEND} | ||
dev-ml/jbuilder | ||
dev-ml/opam" | ||
|
||
S="${WORKDIR}/angstrom-${PV}" | ||
|
||
src_compile() { | ||
jbuilder build -p ${PN} || die | ||
} | ||
|
||
src_test() { | ||
jbuilder runtest -p ${PN} | ||
} | ||
|
||
src_install() { | ||
opam-installer -i \ | ||
--prefix="${ED}/usr" \ | ||
--libdir="${D}/$(ocamlc -where)" \ | ||
--docdir="${ED}/usr/share/doc/${PF}" \ | ||
--mandir="${ED}/usr/share/man" \ | ||
${PN}.install || die | ||
} |
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Gentoo ML Project</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">inhabitedtype/angstrom</remote-id> | ||
</upstream> | ||
</pkgmetadata> |