/[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.19 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.19 2011/02/20 23:44:24 nerdboy 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
14HOMEPAGE="http://grass.osgeo.org//" 14HOMEPAGE="http://grass.osgeo.org//"
15SRC_URI="http://download.osgeo.org/grass/${MY_PM}/source/${P}.tar.gz" 15SRC_URI="http://download.osgeo.org/grass/${MY_PM}/source/${P}.tar.gz"
16 16
17LICENSE="GPL-2" 17LICENSE="GPL-2"
18SLOT="6" 18SLOT="6"
19KEYWORDS="amd64 ppc ~ppc64 sparc x86" 19KEYWORDS="amd64 ppc ~ppc64 x86"
20 20
21IUSE="ffmpeg fftw gmath jpeg largefile motif mysql nls odbc opengl png \ 21IUSE="ffmpeg fftw gmath jpeg motif mysql nls odbc opengl png \
22postgres python readline sqlite tiff truetype wxwidgets X" 22postgres python readline sqlite tiff truetype wxwidgets X"
23 23
24RESTRICT="strip" 24RESTRICT="strip"
25 25
26RDEPEND=">=sys-libs/zlib-1.1.4 26RDEPEND=">=sys-libs/zlib-1.1.4
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
212 $(use_enable amd64 64bit) \ 206 $(use_enable amd64 64bit) \
213 $(use_with fftw) \ 207 $(use_with fftw) \
214 $(use_with gmath blas) \ 208 $(use_with gmath blas) \
215 $(use_with gmath lapack) \ 209 $(use_with gmath lapack) \
216 $(use_with jpeg) \ 210 $(use_with jpeg) \
217 $(use_enable largefile) \
218 $(use_with motif) \ 211 $(use_with motif) \
219 $(use_with nls) \ 212 $(use_with nls) \
220 $(use_with odbc) \ 213 $(use_with odbc) \
221 $(use_with png) \ 214 $(use_with png) \
222 $(use_with postgres) \ 215 $(use_with postgres) \
223 $(use_with readline) \ 216 $(use_with readline) \
224 $(use_with tiff) || die "configure failed!" 217 $(use_with tiff) \
218 --enable-largefile \
225 219
226 if use wxwidgets; then 220 if use wxwidgets; then
227 # can't use die here since we need to hack the vdigit build 221 # can't use die here since we need to hack the vdigit build
228 emake -j1 222 emake -j1
229 ln -sf "${LIBGDI}" dist.${CHOST}/lib/libgdi.so \ 223 ln -sf "${LIBGDI}" dist.${CHOST}/lib/libgdi.so \

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

  ViewVC Help
Powered by ViewVC 1.1.20