/[gentoo-x86]/sci-libs/coinor-bcps/coinor-bcps-0.93.10.ebuild
Gentoo

Contents of /sci-libs/coinor-bcps/coinor-bcps-0.93.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Feb 4 09:53:53 2014 UTC (6 years, 5 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -3 lines
Move preparations to src_prepare

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-bcps/coinor-bcps-0.93.10.ebuild,v 1.1 2014/02/04 08:07:05 jlec Exp $
4
5 EAPI=5
6
7 inherit autotools-utils multilib
8
9 MYPN=Bcps
10
11 DESCRIPTION="COIN-OR BiCEPS data handling library"
12 HOMEPAGE="https://projects.coin-or.org/CHiPPS/"
13 SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
14
15 LICENSE="CPL-1.0"
16 SLOT="0/1"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="examples static-libs test"
19
20 RDEPEND="
21 sci-libs/coinor-utils:=
22 sci-libs/coinor-clp:=
23 sci-libs/coinor-alps:="
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig
26 test? ( sci-libs/coinor-sample )"
27
28 S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
29
30 src_prepare() {
31 # needed for the --with-coin-instdir
32 dodir /usr
33 sed -i \
34 -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
35 configure || die
36 autotools-utils_src_prepare
37 }
38
39 src_configure() {
40 local myeconfargs=(
41 --enable-dependency-linking
42 --with-coin-instdir="${ED}"/usr
43 )
44 autotools-utils_src_configure
45 }
46
47 src_test() {
48 autotools-utils_src_test test
49 }
50
51 src_install() {
52 autotools-utils_src_install
53 if use examples; then
54 insinto /usr/share/doc/${PF}
55 doins -r examples
56 fi
57 }

  ViewVC Help
Powered by ViewVC 1.1.20