mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
dev-ml/camlzip: port to EAPI 7
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=7
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
IUSE="+ocamlopt"
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
|
||||
HOMEPAGE="http://forge.ocamlcore.org/projects/camlzip/"
|
||||
@@ -14,9 +12,12 @@ SRC_URI="http://forge.ocamlcore.org/frs/download.php/1616/${P}.tar.gz"
|
||||
SLOT="1/${PV}"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?]
|
||||
>=sys-libs/zlib-1.1.3"
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.05:=[ocamlopt?]
|
||||
>=sys-libs/zlib-1.1.3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
@@ -28,6 +29,7 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
|
||||
emake DESTDIR="${D}" install-findlib
|
||||
|
||||
dodoc README Changes
|
||||
|
||||
@@ -1,26 +1,24 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=7
|
||||
|
||||
inherit findlib eutils versionator
|
||||
|
||||
IUSE="+ocamlopt"
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
|
||||
HOMEPAGE="https://github.com/xavierleroy/camlzip"
|
||||
SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(delete_all_version_separators ${PV}).tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
|
||||
|
||||
SLOT="1/${PV}"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?]
|
||||
>=sys-libs/zlib-1.1.3"
|
||||
>=sys-libs/zlib-1.1.3"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-rel$(delete_all_version_separators ${PV})"
|
||||
|
||||
src_compile() {
|
||||
emake all
|
||||
if use ocamlopt; then
|
||||
@@ -30,6 +28,7 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
|
||||
emake DESTDIR="${D}" install-findlib
|
||||
|
||||
dodoc README Changes
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit findlib
|
||||
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
|
||||
HOMEPAGE="https://github.com/xavierleroy/camlzip"
|
||||
SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
|
||||
|
||||
SLOT="1/${PV}"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?]
|
||||
>=sys-libs/zlib-1.1.3"
|
||||
@@ -24,8 +24,6 @@ QA_FLAGS_IGNORED=(
|
||||
"/usr/lib.*/ocaml/zip/zip.cmxs"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
|
||||
|
||||
src_compile() {
|
||||
emake all
|
||||
if use ocamlopt; then
|
||||
@@ -35,6 +33,7 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
|
||||
emake DESTDIR="${D}" install-findlib
|
||||
dosym zip/libcamlzip.a /usr/$(get_libdir)/ocaml/libcamlzip.a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user