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.0
- Loading branch information
Showing
2 changed files
with
33 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,2 +1,3 @@ | ||
DIST cppo-1.3.1.tar.gz 26259 SHA256 2e3e658b0ba24d7217c59e76df3e92d4e03866143da8d206b3267cebccfefc69 SHA512 0e5180ce21bb605733ca4bfd64f1917ccb8772f6d078a23d39710b4dc1c5ede32dcaa3bd30116f17683c4040a7cfc41a4ca541e9c973265ec1dd988e2ec67238 WHIRLPOOL 37cc6699aaabd2642b55e00d3c55bfe442c978eb540889ee396ebecd5e5343e45b7e4322cff65e5add8ea3cf18f379d1d7632389742bac1f30b7cfa67c5af172 | ||
DIST cppo-1.3.2.tar.gz 26332 SHA256 c49e3080b3326466c7ddd97100c63bd568301802b3e48cebea3406e1ca76ebc8 SHA512 8569cc644694cca474b373edf4489f24c688106f922b8c9c97d254a22bc988438a2b9e0a5cab44434f8ee7bc7e5fb5612eff2511bbb560e44945fdf827c2441a WHIRLPOOL e3d4e052873f8847cf56da402d460a28be907d22fdfc7c72bdc3b2ea4373cb1246da3ed1f864d18558727b6f752fd69871c717e17d49b777200e25e64023a115 | ||
DIST cppo-1.4.0.tar.gz 26450 SHA256 b0ea2920b04de314c6c0e519ca5694d042246637169cb0db95773620d46d14eb SHA512 c81d6478248e84ab25ec19a5021341663f414a7c62075f2ad79922fdcc077b8de8bd609d22b3f34475eca735a68747966e4e1bbbc419f55f0333ee3d5805a284 WHIRLPOOL 17f8faaf09f8a33e1d294e16ff5ac28e509c1666eeb16b80b771090922ae4a6106324b662d5fb96a33f3cf46a67e45ecaba653088a319017a1317ce7a12a87ad |
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,32 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
inherit findlib | ||
|
||
DESCRIPTION="An equivalent of the C preprocessor for OCaml programs" | ||
HOMEPAGE="http://mjambon.com/cppo.html" | ||
SRC_URI="https://github.com/mjambon/cppo/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
SLOT="0/${PV}" | ||
LICENSE="BSD" | ||
KEYWORDS="~amd64" | ||
|
||
IUSE="examples" | ||
|
||
RDEPEND=">=dev-lang/ocaml-3.12:= | ||
dev-ml/ocamlbuild:=" | ||
DEPEND="${RDEPEND}" | ||
|
||
src_install() { | ||
findlib_src_preinst | ||
mkdir -p "${ED}"/usr/bin | ||
emake PREFIX="${ED}"/usr install | ||
dodoc README.md Changes | ||
if use examples ; then | ||
dodoc -r examples | ||
docompress -x /usr/share/doc/${PF}/examples | ||
fi | ||
} |