mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-ml/cmarkit: new package, add 0.3.0
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
This commit is contained in:
1
dev-ml/cmarkit/Manifest
Normal file
1
dev-ml/cmarkit/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST cmarkit-0.3.0.gh.tar.gz 194019 BLAKE2B f3e477469e10318a04c9ccb28fb17e8982b22957aea0aa631d85fe24d4439726a4e83a04bb0c0f5935c71006d9c81e91ee5de38e321607b8ecb35d1e769df952 SHA512 dbfde73a407d6a8767cb26cbeacc1d0a3e7af2291b123df83a516a5e35f5725989e7b15da127181a773e2960723c9f3d6ff42240e5d525d09b5cc1b2ca42853e
|
||||
40
dev-ml/cmarkit/cmarkit-0.3.0.ebuild
Normal file
40
dev-ml/cmarkit/cmarkit-0.3.0.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Cmarkit parses the CommonMark specification"
|
||||
HOMEPAGE="https://erratique.ch/software/cmarkit"
|
||||
SRC_URI="https://github.com/dbuenzli/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.14.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/findlib
|
||||
dev-ml/ocamlbuild
|
||||
dev-ml/topkg
|
||||
>=dev-ml/result-1.5:=[ocamlopt?]
|
||||
"
|
||||
|
||||
DOCS=( README.md CHANGES.md )
|
||||
|
||||
src_compile() {
|
||||
ocaml pkg/pkg.ml build --with-cmdliner false || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
|
||||
local nativelibs=""
|
||||
use ocamlopt && 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
|
||||
|
||||
}
|
||||
16
dev-ml/cmarkit/metadata.xml
Normal file
16
dev-ml/cmarkit/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription lang="en">
|
||||
Cmarkit parses the CommonMark specification.
|
||||
</longdescription>
|
||||
<maintainer type="person">
|
||||
<email>t@laumann.xyz</email>
|
||||
<name>Thomas Bracht Laumann Jespersen</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<doc>https://erratique.ch/software/cmarkit/doc</doc>
|
||||
<bugs-to>https://github.com/dbuenzli/cmarkit/issues</bugs-to>
|
||||
<remote-id type="github">dbuenzli/cmarkit</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user