/[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.4 Revision 1.5
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.4 2014/02/04 08:50:46 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild,v 1.5 2014/02/04 09:22:13 jlec Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit autotools-utils multilib 7inherit autotools-utils multilib
8 8
23 23
24S="${WORKDIR}/${MYPN}-${PV}/${MYPN}" 24S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
25 25
26src_prepare() { 26src_prepare() {
27 sed -i \ 27 sed -i \
28 -e '/addlibsdir/s/$(DESTDIR)//' \
29 Makefile.in || die
30 sed -i \
31 -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ 28 -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
32 configure || die 29 configure || die
30 sed -i \
31 -e '/^addlibsdir/s/$(DESTDIR)//' \
32 -e 's/$(addlibsdir)/$(DESTDIR)\/$(addlibsdir)/g' \
33 -e 's/$(DESTDIR)$(DESTDIR)/$(DESTDIR)/g' \
34 Makefile.in || die
33 autotools-utils_src_prepare 35 autotools-utils_src_prepare
34} 36}
35 37
36src_configure() { 38src_configure() {
37 # needed for the --with-coin-instdir 39 # needed for the --with-coin-instdir
38 dodir /usr 40 dodir /usr
39 local myeconfargs=( 41 local myeconfargs=(
40 --enable-dependency-linking 42 --enable-dependency-linking
41 --with-coin-instdir="${ED}"/usr 43 --with-coin-instdir="${ED}"/usr
44 --datadir=/usr/share
42 ) 45 )
43 autotools-utils_src_configure 46 autotools-utils_src_configure
44} 47}
45 48
46src_test() { 49src_test() {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20