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.
Signed-off-by: Maciej Barć <[email protected]>
- 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 ptime-1.0.0.tbz 33749 BLAKE2B 6765924f624a92c69495883accd47c66294f49e2d2841fafc66444369b97b9dceaecac0c00a14cba2e8e710bf85c6d5759f419e83d4d0a7bee56c197d06bb000 SHA512 df2410d9cc25a33083fe968a584b8fb4d68ad5c077f3356da0a20427e6cd8756a5b946b921e5cf8ed4097f2c506e93345d9dca63b113be644d5a7cc0753d1534 | ||
DIST ptime-1.1.0.tbz 34641 BLAKE2B b4e4991921d348ffcaf9b3a6c822b5e668f0dfad804a2be56e0f1ce2ef775a892312b545d0d098c9c74c1ab6725ddcd63aa2424571f61107fe4f945c03de35b2 SHA512 309b8383f61b58840e58a82802ec8fbc61b7cc95a4590d38ad427e484cbaaf66f03fa8e6484b5b6855468a87e745aed103bf6f1041ec05062230a9fa5fb86cc6 |
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-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit opam findlib | ||
|
||
DESCRIPTION="POSIX time for OCaml" | ||
HOMEPAGE=" | ||
https://erratique.ch/software/ptime | ||
https://github.com/dbuenzli/ptime | ||
https://opam.ocaml.org/packages/ptime/ | ||
" | ||
SRC_URI="https://erratique.ch/software/ptime/releases/${P}.tbz" | ||
|
||
LICENSE="ISC" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64" | ||
|
||
RDEPEND="" | ||
DEPEND=" | ||
${RDEPEND} | ||
dev-ml/topkg | ||
" | ||
BDEPEND="dev-ml/ocamlbuild" | ||
|
||
OPAM_FILE=opam | ||
|
||
src_compile() { | ||
ocaml pkg/pkg.ml build || die | ||
} |