/[gentoo-x86]/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild
Gentoo

Diff of /sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild,v 1.1 2014/01/14 22:02:05 bicatali Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild,v 1.2 2014/01/15 20:11:28 bicatali Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit autotools-utils multilib 7inherit autotools-utils multilib
8 8
22 virtual/pkgconfig" 22 virtual/pkgconfig"
23 23
24S="${WORKDIR}/${MYPN}-${PV}/${MYPN}" 24S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
25 25
26src_prepare() { 26src_prepare() {
27 # as-needed fix
28 # hack to avoid eautoreconf (coinor has its own weird autotools)
29 sed -i \
30 -e 's:\(libCoinMP_la_LIBADD.*=.*\)$:\1 @COINMP_LIBS@:' \
31 src/Makefile.in || die
32 sed -i \ 27 sed -i \
33 -e '/addlibsdir/s/$(DESTDIR)//' \ 28 -e '/addlibsdir/s/$(DESTDIR)//' \
34 Makefile.in || die 29 Makefile.in || die
35} 30}
36 31
37src_configure() { 32src_configure() {
38 PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \ 33 local myeconfargs=(
34 --enable-dependency-linking
35 )
39 autotools-utils_src_configure 36 autotools-utils_src_configure
40} 37}
41 38
42src_test() { 39src_test() {
43 pushd "${BUILD_DIR}" > /dev/null || die 40 autotools-utils_src_test test
44 emake test
45 popd > /dev/null || die
46} 41}
47 42
48src_install() { 43src_install() {
49 autotools-utils_src_install 44 autotools-utils_src_install
50 # already installed 45 # already installed

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20