summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-09-02 15:15:33 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-09-02 15:16:44 +0200
commit29c52b5bd7a55b4d023a2fd4d6db9fadc8beeb3a (patch)
tree376fba9925096ca0967186e39bf06567178c7f21 /dev-ml/ocplib-simplex/ocplib-simplex-0.4.1.ebuild
parentdev-ml/ocaml-base64: add 3.5.1 (diff)
downloadgentoo-29c52b5bd7a55b4d023a2fd4d6db9fadc8beeb3a.tar.gz
gentoo-29c52b5bd7a55b4d023a2fd4d6db9fadc8beeb3a.tar.bz2
gentoo-29c52b5bd7a55b4d023a2fd4d6db9fadc8beeb3a.zip
dev-ml/ocplib-simplex: add 0.4.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/ocplib-simplex/ocplib-simplex-0.4.1.ebuild')
-rw-r--r--dev-ml/ocplib-simplex/ocplib-simplex-0.4.1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/ocplib-simplex/ocplib-simplex-0.4.1.ebuild b/dev-ml/ocplib-simplex/ocplib-simplex-0.4.1.ebuild
new file mode 100644
index 000000000000..2f62b9e344e4
--- /dev/null
+++ b/dev-ml/ocplib-simplex/ocplib-simplex-0.4.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools findlib
+
+DESCRIPTION="A library implementing a simplex algorithm"
+HOMEPAGE="https://github.com/OCamlPro-Iguernlala/ocplib-simplex"
+SRC_URI="https://github.com/OCamlPro-Iguernlala/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( CHANGES.md README.md extra/simplex_invariants.txt extra/TODO.txt )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.4-flags.patch
+)
+
+QA_FLAGS_IGNORED=(
+ /usr/lib64/ocaml/ocplib-simplex/ocplibSimplex.cmxs
+)
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ sed -i -e "s:configure.in:configure.ac:g" \
+ Makefile.in || die
+ eautoreconf
+}
+
+src_install() {
+ findlib_src_install LIBDIR="${D}"/usr/"$(get_libdir)"/ocaml
+}