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

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

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

Revision 1.7 Revision 1.13
1# Copyright 1999-2013 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-geosciences/grass/grass-6.4.2.ebuild,v 1.7 2013/07/02 08:18:49 ago Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.4.2.ebuild,v 1.13 2014/12/28 16:47:14 titanofold Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7PYTHON_DEPEND="python? 2" 7PYTHON_DEPEND="python? 2"
8WANT_AUTOCONF="2.1" 8WANT_AUTOCONF="2.1"
9 9
10inherit eutils gnome2 multilib python versionator wxwidgets base autotools 10inherit eutils gnome2 multilib python versionator wxwidgets autotools
11 11
12MY_PM=${PN}$(get_version_component_range 1-2 ${PV}) 12MY_PM=${PN}$(get_version_component_range 1-2 ${PV})
13MY_PM=${MY_PM/.} 13MY_PM=${MY_PM/.}
14MY_P=${P/_rc/RC} 14MY_P=${P/_rc/RC}
15 15
17HOMEPAGE="http://grass.osgeo.org/" 17HOMEPAGE="http://grass.osgeo.org/"
18SRC_URI="http://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz" 18SRC_URI="http://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz"
19 19
20LICENSE="GPL-2" 20LICENSE="GPL-2"
21SLOT="6" 21SLOT="6"
22KEYWORDS="amd64 ~ppc ~ppc64 ~x86" 22KEYWORDS="amd64 ppc ~ppc64 x86"
23IUSE="X cairo cxx ffmpeg fftw gmath jpeg motif mysql nls odbc opengl png postgres python readline sqlite tiff truetype wxwidgets" 23IUSE="X cairo cxx ffmpeg fftw gmath jpeg motif mysql nls odbc opengl png postgres python readline sqlite tiff truetype wxwidgets"
24 24
25TCL_DEPS=" 25TCL_DEPS="
26 >=dev-lang/tcl-8.5 26 >=dev-lang/tcl-8.5
27 >=dev-lang/tk-8.5" 27 >=dev-lang/tk-8.5"
46 opengl? ( 46 opengl? (
47 virtual/opengl 47 virtual/opengl
48 ${TCL_DEPS} 48 ${TCL_DEPS}
49 ) 49 )
50 png? ( media-libs/libpng ) 50 png? ( media-libs/libpng )
51 postgres? ( >=dev-db/postgresql-base-8.4 ) 51 postgres? ( >=dev-db/postgresql-8.4 )
52 readline? ( sys-libs/readline ) 52 readline? ( sys-libs/readline )
53 sqlite? ( dev-db/sqlite:3 ) 53 sqlite? ( dev-db/sqlite:3 )
54 tiff? ( media-libs/tiff ) 54 tiff? ( media-libs/tiff )
55 truetype? ( media-libs/freetype:2 ) 55 truetype? ( media-libs/freetype:2 )
56 wxwidgets? ( >=dev-python/wxpython-2.8.10.1[cairo,opengl?] ) 56 wxwidgets? ( >=dev-python/wxpython-2.8.10.1[cairo,opengl?] )
131 fi 131 fi
132} 132}
133 133
134src_prepare() { 134src_prepare() {
135 use opengl || epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch 135 use opengl || epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch
136 base_src_prepare 136 epatch ${PATCHES[@]}
137 epatch_user
137 eautoconf 138 eautoconf
138} 139}
139 140
140src_configure() { 141src_configure() {
141 local myconf TCL_LIBDIR 142 local myconf TCL_LIBDIR
212 ${myconf} 213 ${myconf}
213} 214}
214 215
215src_compile() { 216src_compile() {
216 # we don't want to link against embeded mysql lib 217 # we don't want to link against embeded mysql lib
217 base_src_compile MYSQLDLIB="" 218 emake MYSQLDLIB=""
218} 219}
219 220
220src_install() { 221src_install() {
221 emake DESTDIR="${D}" \ 222 emake DESTDIR="${D}" \
222 INST_DIR="${D}"/usr/${MY_PM} \ 223 INST_DIR="${D}"/usr/${MY_PM} \

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20