/[gentoo-x86]/sci-geosciences/grass/grass-6.3.0.ebuild
Gentoo

Diff of /sci-geosciences/grass/grass-6.3.0.ebuild

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

Revision 1.21 Revision 1.22
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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-geosciences/grass/Attic/grass-6.3.0.ebuild,v 1.21 2011/03/10 19:14:03 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/Attic/grass-6.3.0.ebuild,v 1.22 2011/03/26 15:27:44 scarabeus Exp $
4 4
5EAPI=1 5EAPI=1
6 6
7inherit eutils distutils fdo-mime versionator wxwidgets 7inherit eutils distutils fdo-mime versionator wxwidgets
8 8
29 || ( 29 || (
30 sys-apps/man 30 sys-apps/man
31 sys-apps/man-db ) 31 sys-apps/man-db )
32 sci-libs/gdal 32 sci-libs/gdal
33 >=sci-libs/proj-4.4.7 33 >=sci-libs/proj-4.4.7
34 ffmpeg? ( media-video/ffmpeg ) 34 ffmpeg? ( virtual/ffmpeg )
35 fftw? ( sci-libs/fftw ) 35 fftw? ( sci-libs/fftw )
36 gmath? ( virtual/blas 36 gmath? ( virtual/blas
37 virtual/lapack ) 37 virtual/lapack )
38 jpeg? ( virtual/jpeg ) 38 jpeg? ( virtual/jpeg )
39 mysql? ( dev-db/mysql ) 39 mysql? ( dev-db/mysql )
176 # Should handle either older or latest without intervention; 176 # Should handle either older or latest without intervention;
177 # this won't work forever, but it should be okay for a while... 177 # this won't work forever, but it should be okay for a while...
178 if use ffmpeg; then 178 if use ffmpeg; then
179 myconf="${myconf} --with-ffmpeg \ 179 myconf="${myconf} --with-ffmpeg \
180 --with-ffmpeg-libs=/usr/$(get_libdir)" 180 --with-ffmpeg-libs=/usr/$(get_libdir)"
181 if has_version ">=media-video/ffmpeg-0.4.9_p20080326" ; then
182 # must pass multiple include dirs now; if you have a better
183 # way to do this, please speak up and file a bug :)
184 myconf="${myconf} --with-ffmpeg-includes=/usr/include/libav*" 181 myconf="${myconf} --with-ffmpeg-includes=/usr/include/libav*"
185 else
186 myconf="${myconf} --with-ffmpeg-includes=/usr/include/ffmpeg"
187 fi
188 else 182 else
189 myconf="${myconf} --without-ffmpeg" 183 myconf="${myconf} --without-ffmpeg"
190 fi 184 fi
191 185
192 if use truetype; then 186 if use truetype; then

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20