# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 MY_PN=${PN/-stub/} DUNE_PKG_NAME="gettext-stub" inherit dune DESCRIPTION="Provides support for internationalization of OCaml program" HOMEPAGE="https://github.com/gildor478/ocaml-gettext" SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" 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}" src_install() { dune_src_install }