summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-06-21 18:29:42 +0200
committerDavid Seifert <soap@gentoo.org>2022-06-21 18:29:42 +0200
commit3a1c3a624c728032dfed4476f996acf6f70d3d75 (patch)
tree1479d29e3dab69000e6cd0b93c2b614d58853d4c /sci-mathematics
parentnet-mail/qprint: update EAPI 6 -> 8 (diff)
downloadgentoo-3a1c3a624c728032dfed4476f996acf6f70d3d75.tar.gz
gentoo-3a1c3a624c728032dfed4476f996acf6f70d3d75.tar.bz2
gentoo-3a1c3a624c728032dfed4476f996acf6f70d3d75.zip
sci-mathematics/lpsolve: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild (renamed from sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild)16
1 files changed, 3 insertions, 13 deletions
diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
index 3a153685d29b..4bfa870fa6cb 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
HOMEPAGE="https://sourceforge.net/projects/lpsolve/"
@@ -10,21 +10,11 @@ SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
DEPEND="sci-libs/colamd"
RDEPEND="${DEPEND}"
-src_configure() {
- econf \
- $(use_enable static-libs static)
-}
-
src_install() {
default
-
- # required because it does not provide .pc file
- if ! use static-libs; then
- find "${D}" -name '*.la' -delete || die
- fi
+ find "${ED}" -name '*.la' -delete || die
}