mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-ml/ocaml-gettext: drop 0.3.7-r3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
parent
5b0a46c544
commit
5529cb45b3
@ -1,3 +1,2 @@
|
||||
DIST ocaml-gettext-0.3.7.tar.gz 134316 BLAKE2B 9de6ef9e04afbb6001ddc5ef145a687ad88a20eef1c27d3a3e6136f81ad46100cc6496cb66e3edfbf0f7eacfa8abbccb44d846d2f676862c96b8ceb860d8f424 SHA512 1358320359b9d2f3fd97a47d69b2a619942a65605c1e5cbf25e33ef42a10273167b526bca15e6c9523b87d8ea9dfd3215334050ad8eb84a8c41d4feef880a27a
|
||||
DIST ocaml-gettext-0.4.2.1.tar.gz 110349 BLAKE2B 8156d4962838ec752d17844e50f332c03e0de966b7f15a18f740039a5cc7faf4b42733129353f0bb24b9922d61dce078e77f64356a1c587d9f80d8a65cab602d SHA512 659e3b4891ec7bc17f33de072d5625df62e1d522e70ccb912969c0b87145d7d44e20b8547c6513065ca4b87e314b31f4cf8057543d2c9b40f8ee2227df5d1e67
|
||||
DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec
|
||||
|
||||
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools findlib
|
||||
|
||||
DESCRIPTION="Provides support for internationalization of OCaml program"
|
||||
HOMEPAGE="https://github.com/gildor478/ocaml-gettext"
|
||||
SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="doc +ocamlopt test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/ocaml-unsafe-string.patch )
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
)
|
||||
"
|
||||
# OCaml 4.10 does not support -unsafe-string by default
|
||||
# bug #666149
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-3.12.1:=
|
||||
<dev-lang/ocaml-4.10.0:=
|
||||
>=dev-ml/ocaml-fileutils-0.4.0:=
|
||||
>=dev-ml/camomile-0.8.3:=
|
||||
sys-devel/gettext
|
||||
dev-ml/camlp4:=
|
||||
!dev-ml/ocaml-gettext-stub
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-ml/ounit2 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Porting to dev-ml/ounit2
|
||||
sed -i \
|
||||
-e 's/OCAMLFIND_CHECK_MODULE(oUnit/OCAMLFIND_CHECK_MODULE(ounit2/' \
|
||||
configure.in || die
|
||||
sed -i \
|
||||
-e 's/oUnit/ounit2/' \
|
||||
test/Makefile || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-docbook-stylesheet="${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/" \
|
||||
$(use_enable doc) \
|
||||
$(use_enable test)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
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
|
||||
dodoc CHANGELOG README THANKS TODO
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user