diff options
author | Rafael Kitover <rkitover@gmail.com> | 2021-01-17 19:24:30 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-22 03:33:57 +0000 |
commit | d798bad94cd1f2b11d5f4b36a7b358e55d7a9938 (patch) | |
tree | 2434bad66f1079b8db38e47d49b7db8d921e277a /dev-ml | |
parent | net-libs/libmicrohttpd: add net-libs/gnutls subslot dep (diff) | |
download | gentoo-d798bad94cd1f2b11d5f4b36a7b358e55d7a9938.tar.gz gentoo-d798bad94cd1f2b11d5f4b36a7b358e55d7a9938.tar.bz2 gentoo-d798bad94cd1f2b11d5f4b36a7b358e55d7a9938.zip |
dev-ml/ocaml-gettext-stub: New ebuild.
Needed for libguestfs.
First version of ebuild provided by:
Hank Leininger (hlein@korelogic.com).
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>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/ocaml-gettext-stub/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/ocaml-gettext-stub/metadata.xml | 21 | ||||
-rw-r--r-- | dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2.ebuild | 33 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-ml/ocaml-gettext-stub/Manifest b/dev-ml/ocaml-gettext-stub/Manifest new file mode 100644 index 000000000000..839e7295801b --- /dev/null +++ b/dev-ml/ocaml-gettext-stub/Manifest @@ -0,0 +1 @@ +DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec diff --git a/dev-ml/ocaml-gettext-stub/metadata.xml b/dev-ml/ocaml-gettext-stub/metadata.xml new file mode 100644 index 000000000000..4014d3ca4a80 --- /dev/null +++ b/dev-ml/ocaml-gettext-stub/metadata.xml @@ -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> diff --git a/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2.ebuild b/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2.ebuild new file mode 100644 index 000000000000..5bed46a16b72 --- /dev/null +++ b/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2.ebuild @@ -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/-stub/} +MY_P=${P/-stub/} +DUNE_PKG_NAME="gettext-stub" +inherit dune + +DESCRIPTION="Support for internationalization of OCaml programs using native gettext 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}" |