1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
7 HOMEPAGE="https://sourceforge.net/projects/lpsolve/"
8 SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
12 KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
15 DEPEND="sci-libs/colamd"
20 $(use_enable static-libs static) \
21 --docdir="${EPREFIX}/usr/share/doc/${PF}"
26 # required because it does not provide .pc file
27 use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +