mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
dev-ml/topkg: bump to 1.1.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
823783e112
commit
bf84fdb2b4
@ -1,3 +1,4 @@
|
||||
DIST topkg-1.0.7.tar.gz 123763 BLAKE2B e049b745651261d4167f01523c21018c2fa9e2c8d64f5f6dd5b469f85a293a83a89f00686cefb35f3529056f8023caf28e06ea3284c36c9213c3f5f303849794 SHA512 0f64f6c303592eb04c809d2922549cf25311c90c5ac6c33b70767c47eb31a8dc8296ddedead70c091fc16c30fc7fdf972ba92c7d9e4867afa07dcc1eceaee49f
|
||||
DIST topkg-1.0.8.tar.gz 121209 BLAKE2B b87997d1739106a9c617f79f76834dbdb63160cac983774e0844271cb11103d81eebb93810fc2190b4612a1232008031039ac79a624e8f28afebc46dae35a64d SHA512 8d8f08d94a009d13627ebc19e9a778244bf0c2646694c9509b992575f9318db6917f00e6c4bc11f179d899d566cea24b9b09828da2ed6323fc7ffd9e25b395a6
|
||||
DIST topkg-1.1.0.tar.gz 121524 BLAKE2B 488b2f810858e33f8d3d21bc73ec82b16df07bc771ed5f322001a9290335d181653a677d03290f2fbf8e5a3fc5c880f27521721e5ce9664a4a8e7eba5059afa3 SHA512 587c3ca9fa7aed81c6387d00eca768f28f0c5b1669517651e8e3415397ba4e719c2f2469e086ae47be053c6ad1f5b0072a4f4922875463d6d8a9d3b6a141c1af
|
||||
DIST topkg-1.1.1.tar.gz 121701 BLAKE2B f785664518abb9b5e8056fda0065108720139b213f80b159ef2c5a42b15368369a7a166bec16721c0fb0f432b223ba4ca1aabd8bd768d11861669b02f9328fe6 SHA512 0630155371dbd32f806a0150d03bd80fa7ae400cf15965da709d8eb460163ee085c0fd4a6496eaebef00f30660dc912943714ce9f0b174a86209c9bbc872a095
|
||||
|
||||
38
dev-ml/topkg/topkg-1.1.1.ebuild
Normal file
38
dev-ml/topkg/topkg-1.1.1.ebuild
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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 ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="dev-ml/result:=
|
||||
dev-ml/ocamlbuild:=
|
||||
dev-ml/findlib:=
|
||||
dev-lang/ocaml:=[ocamlopt?]"
|
||||
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
|
||||
if use ocamlopt; then
|
||||
nativelibs=$(echo _build/src/${PN}*.cm{x,xa,xs,ti} _build/src/${PN}.a)
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user