mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
dev-ml/camlpdf: add 2.8.1
Drop x86 support (not well supported by OCaml 4.X and unavailable in OCaml 5) Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/39619 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
parent
f3e22f69fe
commit
a7e0182ec7
@ -1 +1,2 @@
|
|||||||
DIST camlpdf-2.7.1.tar.gz 841886 BLAKE2B 30215949fab2517e00cf520ef4f79a6fbf49173e7e2643ac1a47d0dd945063908de2928f7181d2182ad4fe51945bb3f6a89a54aa236a889ea392cd126ef856c8 SHA512 2480a282a6ce09444ed14a3f41561375ecf7e3c57f7559a48ad9791d9f824e59820bfd39aa36910ff6bdc9b160cef76ab90dbbfe628c836c3f5c5081dfd5e452
|
DIST camlpdf-2.7.1.tar.gz 841886 BLAKE2B 30215949fab2517e00cf520ef4f79a6fbf49173e7e2643ac1a47d0dd945063908de2928f7181d2182ad4fe51945bb3f6a89a54aa236a889ea392cd126ef856c8 SHA512 2480a282a6ce09444ed14a3f41561375ecf7e3c57f7559a48ad9791d9f824e59820bfd39aa36910ff6bdc9b160cef76ab90dbbfe628c836c3f5c5081dfd5e452
|
||||||
|
DIST camlpdf-2.8.1.tar.gz 847238 BLAKE2B f3aa0e72c47e54222a138e058e817e2c6f76ec978b7f5b9f6e56f8fbfbfb923c403d331f4d77b63a1a2deb091a332f8f83b48559537301636b6ee2ad0f5e0072 SHA512 baf16128dbe4b3bf1cc1c726976e083cd12113de6865a1d847f1e606bdc2570ce474076d5350d705dd22f538e21dd524d9e8bd56708fedd56df822be92be36a2
|
||||||
|
|||||||
36
dev-ml/camlpdf/camlpdf-2.8.1.ebuild
Normal file
36
dev-ml/camlpdf/camlpdf-2.8.1.ebuild
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit findlib
|
||||||
|
|
||||||
|
DESCRIPTION="OCaml library for reading, writing, and modifying PDF files"
|
||||||
|
HOMEPAGE="https://github.com/johnwhitington/camlpdf/"
|
||||||
|
SRC_URI="https://github.com/johnwhitington/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
# technically LGPL-2.1+ with linking exception
|
||||||
|
LICENSE="LGPL-2.1-with-linking-exception"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="doc examples"
|
||||||
|
|
||||||
|
RDEPEND="dev-lang/ocaml:=[ocamlopt]"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# parallel make bugs
|
||||||
|
emake -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
findlib_src_install
|
||||||
|
dodoc Changes README.md
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
dodoc introduction_to_camlpdf.pdf
|
||||||
|
dodoc -r doc/camlpdf/html
|
||||||
|
fi
|
||||||
|
|
||||||
|
use examples && dodoc -r examples
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user