dev-ml/ocaml-gettext-camomile: New ebuild.

Part of the ocaml-gettext distribution.

Bug: https://bugs.gentoo.org/762613
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Rafael Kitover
2021-01-17 19:30:30 +00:00
committed by Sam James
parent d798bad94c
commit e27f3e8b52
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>rkitover@gmail.com</email>
<name>Rafael Kitover</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">gildor478/ocaml-gettext</remote-id>
</upstream>
<use>
<flag name="ocamlopt">
Whether the OCaml native code compiler is used. Must be set globally and
match dev-lang/ocaml.
</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN=${PN/-camomile/}
MY_P=${P/-camomile/}
DUNE_PKG_NAME="gettext-camomile"
inherit dune
DESCRIPTION="Support for internationalization of OCaml programs using the Camomile library"
HOMEPAGE="https://github.com/gildor478/ocaml-gettext"
SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
BDEPEND="
>=dev-ml/cppo-1.6.6
dev-ml/dune-configurator
"
RDEPEND="
dev-ml/ocaml-gettext:=
"
DEPEND="
${RDEPEND}
test? ( dev-ml/ounit )
"
S="${WORKDIR}/${MY_PN}-${PV}"