summaryrefslogtreecommitdiff
path: root/dev-ml/topkg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-17 17:51:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-17 17:51:45 +0100
commit420eeee727d39d869d864caddb04a80dafda7160 (patch)
tree87f15d7467082dd92fce78a6cc2f56fa8d0774af /dev-ml/topkg
parent0fdd4074ff3dc0c507a9867380a4f91250a0b610 (diff)
gentoo resync : 17.10.2017
Diffstat (limited to 'dev-ml/topkg')
-rw-r--r--dev-ml/topkg/Manifest2
-rw-r--r--dev-ml/topkg/topkg-0.9.1.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ml/topkg/Manifest b/dev-ml/topkg/Manifest
index 5f6b554b3dc4..5d22d96aac34 100644
--- a/dev-ml/topkg/Manifest
+++ b/dev-ml/topkg/Manifest
@@ -1,4 +1,6 @@
DIST topkg-0.9.0.tar.gz 120352 SHA256 1f9a718d49151ac4e914404e78865cc74e361d7befea2167fb8daa78a68fba11 SHA512 823fe1abb344d7800e09411c952bd276ecea97b5d9c124d986e26b9128d03b3ad023a38560198e476ef8f949ecb456078e332bda94075e9b746e43d3059a8fdb WHIRLPOOL 03be4f92aa654e46ffe46e49f59bac3fabb96982d512811fe1232fa067829ef09ba585bcf26bebba07aef1394497fd2551102dc97ba1f078b9b5e7d685c410be
+DIST topkg-0.9.1.tar.gz 120943 SHA256 7ad03b9ce97fbf39c040cdbd588d4cbcce97428e5dc84a23e27f2c43617f817f SHA512 19773eb764b53a6e5110c44d7942d2557d6c8502a3037b57f7737efc08f4cc374845b431fdb1465207693d15a4b072aea3db97f8e60e069e3d24ae150e8c5c8f WHIRLPOOL 93a2b08046672f88ea6a34e1f4d9c2af8432865c822bb751f029c6036c6e1975eeabc77c349a66559fa158f28f5807d799bb6e11b3168d1e0399924c3fadc754
EBUILD topkg-0.9.0.ebuild 918 SHA256 f4c3d1e9f8a7834301bddadd633c7535b27bb02ba2915d93bcc98a07e0764031 SHA512 9f2f36e01b23b079866b641e5c5109fee45fb89f40bdbd05c6a4aeb18cc028972416a1ee3d054494b084700a0233968717a6e1abb81f2fd84223833521feb489 WHIRLPOOL 4be8c9fe87f10427a2b2d939650a90964169d9d45623c7ca4487ff0973138a6c826814d3eb49e394f7ee60784f164ac454f619d97a648d1dde3de40b2fe765d1
+EBUILD topkg-0.9.1.ebuild 918 SHA256 f4c3d1e9f8a7834301bddadd633c7535b27bb02ba2915d93bcc98a07e0764031 SHA512 9f2f36e01b23b079866b641e5c5109fee45fb89f40bdbd05c6a4aeb18cc028972416a1ee3d054494b084700a0233968717a6e1abb81f2fd84223833521feb489 WHIRLPOOL 4be8c9fe87f10427a2b2d939650a90964169d9d45623c7ca4487ff0973138a6c826814d3eb49e394f7ee60784f164ac454f619d97a648d1dde3de40b2fe765d1
MISC ChangeLog 444 SHA256 be31ff5d0e71106adab9f856d3acc8a023f9c4b73c024e37d1ef6111b90ec68a SHA512 f0b5c0125e9627d50cdaad57b826f7a7c8bf0866f3d9289fb721262c16e7a9fdaad9e9070830cfd35bf45852f1e812f2d4371a28d1e31b97a7041fb8b314ad35 WHIRLPOOL 5e760c62e8f539a6924bbd386bd375eb2d8cdc5a1de4083eb6061aca6319d11379a3c41495a379d93fb44697a17a9c9ac8b4ad930c6b7043e0c1f782f3da837c
MISC metadata.xml 326 SHA256 b7bc06bc93622d95e7016fcd42cdfb4f67b2468733ae06a9b6cc959664e8aded SHA512 73f1d4965ba7b15a7ea5ad4382aeb1a6173c021d7f955080a69e5a77834b4dea4472b763ab598f234cc69a7d4c0b9beee0d5cbf9976cd258517eb316a9a6e92c WHIRLPOOL 440d65fe811a2d86e81da2418087634ed814466950392a21f75107a082d6533c937d7e2ae37b489a5fea3b9eda7e89999a245341f4316a6eaa65bcc853baa73b
diff --git a/dev-ml/topkg/topkg-0.9.1.ebuild b/dev-ml/topkg/topkg-0.9.1.ebuild
new file mode 100644
index 000000000000..2cfed454c256
--- /dev/null
+++ b/dev-ml/topkg/topkg-0.9.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit findlib
+
+DESCRIPTION="The transitory OCaml software packager"
+HOMEPAGE="http://erratique.ch/software/topkg https://github.com/dbuenzli/topkg"
+SRC_URI="https://github.com/dbuenzli/topkg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-ml/result:=
+ dev-ml/ocamlbuild:=
+ dev-ml/findlib:=
+ dev-lang/ocaml:="
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ ocaml pkg/pkg.ml build --pkg-name ${PN} || die
+}
+
+src_install() {
+ # Can't use opam-installer here as it is an opam dep...
+ findlib_src_preinst
+ local nativelibs="$(echo _build/src/${PN}*.cm{x,xa,xs,ti} _build/src/${PN}.a)"
+ ocamlfind install ${PN} _build/pkg/META _build/src/${PN}.mli _build/src/${PN}.cm{a,i} ${nativelibs} || die
+ dodoc CHANGES.md DEVEL.md README.md
+}