blob: 048bdf30954183f78e6da353e0d0a03b24ae7105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2021 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}"/${P}-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
}
|