/[gentoo-x86]/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
Gentoo

Contents of /sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Dec 8 12:24:38 2012 UTC (6 years, 10 months ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
add ~arm, bug #440908

(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 072AD062)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild,v 1.6 2012/03/26 15:49:31 ranger Exp $
4
5 EAPI=4
6
7 DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
8 HOMEPAGE="http://sourceforge.net/projects/lpsolve/"
9 SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
10
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
14 IUSE="static-libs"
15
16 DEPEND="sci-libs/colamd"
17 RDEPEND="${DEPEND}"
18
19 src_configure() {
20 econf \
21 $(use_enable static-libs static) \
22 --docdir="${EPREFIX}/usr/share/doc/${PF}"
23 }
24
25 src_install() {
26 default
27 # required because it does not provide .pc file
28 use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
29 }

  ViewVC Help
Powered by ViewVC 1.1.20