dev-ml/ocaml-gettext - 0.4.1 (ssnb)

Search

Install

Install this version:

emerge -a =dev-ml/ocaml-gettext-0.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ml/ocaml-gettext-0.4.1

Or alternatively:

emerge --autounmask-write -a =dev-ml/ocaml-gettext-0.4.1

Package Information

Description:
Provides support for internationalization of OCaml program
Homepage:
https://github.com/gildor478/ocaml-gettext
License:
LGPL-2.1-with-linking-exception

Ebuild Details

Version EAPI Keywords Slot
0.4.1 8 ~amd64 ~x86 0/0.4.1
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit findlib autotools

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="doc test"
#RESTRICT="!test? ( test )"
IUSE=""

RDEPEND=">=dev-lang/ocaml-3.12.1:=
	>=dev-ml/ocaml-fileutils-0.4.0:=
	>=dev-ml/camomile-0.8.3:=
	sys-devel/gettext
	dev-ml/camlp4:=
	"
#DEPEND="${RDEPEND}
#	doc? ( app-text/docbook-xsl-stylesheets dev-libs/libxslt )
#	test? ( dev-ml/ounit )"
DEPEND="${RDEPEND}"

src_prepare() {
	eapply_user
}

src_configure() {
	:
}

src_compile() {
	emake -j1 build
}

src_install() {
	findlib_src_preinst
	emake -j1 DESTDIR="${D}" \
		BINDIR="${ED}/usr/bin" \
		PODIR="${ED}/usr/share/locale/" \
		DOCDIR="${ED}/usr/share/doc/${PF}" \
		MANDIR="${ED}/usr/share/man" \
		install

	#findlib_src_install DATADIR="${ED}/usr/share" BINDIR="${ED}/usr/bin"
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-lang/ocaml-3.12.1:=
	>=dev-ml/ocaml-fileutils-0.4.0:=
	>=dev-ml/camomile-0.8.3:=
	sys-devel/gettext
	dev-ml/camlp4:=
	

RDEPEND

>=dev-lang/ocaml-3.12.1:=
	>=dev-ml/ocaml-fileutils-0.4.0:=
	>=dev-ml/camomile-0.8.3:=
	sys-devel/gettext
	dev-ml/camlp4:=
	

Manifest for 0.4.1

Type File Size Source URLs
DIST ocaml-gettext-0.4.1.tar.gz 110046 bytes https://github.com/gildor478/ocaml-gettext/archive/v0.4.1.tar.gz