mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-ml/xmlm: add 1.4.0, drop 1.3.0-r3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
34
dev-ml/xmlm/xmlm-1.4.0.ebuild
Normal file
34
dev-ml/xmlm/xmlm-1.4.0.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit findlib opam
|
||||
|
||||
DESCRIPTION="Ocaml XML manipulation module"
|
||||
HOMEPAGE="
|
||||
http://erratique.ch/software/xmlm
|
||||
https://github.com/dbuenzli/xmlm
|
||||
"
|
||||
SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-ml/topkg"
|
||||
BDEPEND="dev-ml/ocamlbuild"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
OPAM_FILE=opam
|
||||
|
||||
src_compile() {
|
||||
ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
opam_src_test
|
||||
ocaml pkg/pkg.ml test || die
|
||||
}
|
||||
Reference in New Issue
Block a user