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.2
- Loading branch information
Showing
2 changed files
with
35 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 uuidm-0.9.5.tbz 44450 SHA256 b5d99f7a53d184fd1e8405f8f57a1c4407530bd5f6a4f75edaf0ae1482ee6f0d SHA512 2e3ec14dd1ca07c3f057171d7b09d98067c69700f6dd4edbeeafcb1802ee1aa374c76ce65cd26141aae9f70aebadb31abd15ef8d7560534b8c206e65acb27fe8 WHIRLPOOL 7b679775961aca73f60bae791f72a33c92bdd38f668e79cccd6de19a7240ae163950f2641fb8333276d0975c21e8a3cc6218c155b5483cb4487d2958588ea708 | ||
DIST uuidm-0.9.6.tbz 9707 SHA256 8ccab2ad5b2ca734224d93711396f9bfc2d0ca9fbba494f805d3840e7a73e443 SHA512 13b900e98c27f201636b6f074416dc85ed6725b5bcdf911532c4ff31ca980c0a8e31583db9e336d2533559e4f9c3c1badf2a4548dffd21c009671a8dfc80a7f7 WHIRLPOOL e6abce97947da183c82bb5abbe97b8a6cf8624e3c06d61aeb9fa97e4df43294372e2b94e0a3efda37438ba365c9529482bd35672ae88864dc0e308c30ab222aa |
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,34 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit findlib | ||
|
||
DESCRIPTION="OCaml module implementing 128 bits universally unique identifiers" | ||
HOMEPAGE="http://erratique.ch/software/uuidm" | ||
SRC_URI="http://erratique.ch/software/uuidm/releases/${P}.tbz" | ||
|
||
LICENSE="ISC" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
RDEPEND="dev-lang/ocaml:= | ||
dev-ml/cmdliner:=" | ||
DEPEND="${RDEPEND} | ||
dev-ml/opam" | ||
|
||
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 | ||
dodoc CHANGES.md README.md | ||
} |