Lines 2-7
Link Here
|
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/gdal/gdal-1.4.2.ebuild,v 1.1 2007/07/03 20:12:55 nerdboy Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.4.2.ebuild,v 1.1 2007/07/03 20:12:55 nerdboy Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="prefix" |
6 |
|
5 |
inherit eutils libtool distutils toolchain-funcs |
7 |
inherit eutils libtool distutils toolchain-funcs |
6 |
|
8 |
|
7 |
IUSE="jpeg png geos gif jpeg2k netcdf hdf hdf5 python ruby postgres \ |
9 |
IUSE="jpeg png geos gif jpeg2k netcdf hdf hdf5 python ruby postgres \ |
Lines 13-19
Link Here
|
13 |
|
15 |
|
14 |
SLOT="0" |
16 |
SLOT="0" |
15 |
LICENSE="MIT" |
17 |
LICENSE="MIT" |
16 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
18 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" |
17 |
# need to get these arches updated on several libs first |
19 |
# need to get these arches updated on several libs first |
18 |
#KEYWORDS="~alpha ~hppa" |
20 |
#KEYWORDS="~alpha ~hppa" |
19 |
|
21 |
|
Lines 76-86
Link Here
|
76 |
|
78 |
|
77 |
# It can't find this |
79 |
# It can't find this |
78 |
if useq ogdi ; then |
80 |
if useq ogdi ; then |
79 |
use_conf="--with-ogdi=/usr/$(get_libdir) ${use_conf}" |
81 |
use_conf="--with-ogdi=$EPREFIX/usr/$(get_libdir) ${use_conf}" |
80 |
fi |
82 |
fi |
81 |
|
83 |
|
82 |
if useq mysql ; then |
84 |
if useq mysql ; then |
83 |
use_conf="--with-mysql=/usr/bin/mysql_config ${use_conf}" |
85 |
use_conf="--with-mysql=$EPREFIX/usr/bin/mysql_config ${use_conf}" |
84 |
fi |
86 |
fi |
85 |
|
87 |
|
86 |
if useq gif ; then |
88 |
if useq gif ; then |
Lines 94-107
Link Here
|
94 |
fi |
96 |
fi |
95 |
|
97 |
|
96 |
if useq python ; then |
98 |
if useq python ; then |
97 |
use_conf="--with-pymoddir=/usr/$(get_libdir)/python${PYVER}/site-packages \ |
99 |
use_conf="--with-pymoddir=$EPREFIX/usr/$(get_libdir)/python${PYVER}/site-packages \ |
98 |
${use_conf}" |
100 |
${use_conf}" |
99 |
else |
101 |
else |
100 |
use_conf="--with-python=no ${use_conf}" |
102 |
use_conf="--with-python=no ${use_conf}" |
101 |
fi |
103 |
fi |
102 |
|
104 |
|
103 |
# Fix doc path just in case |
105 |
# Fix doc path just in case |
104 |
sed -i -e "s:@exec_prefix@/doc:/usr/share/doc/${PF}/html:g" GDALmake.opt.in |
106 |
sed -i -e "s:@exec_prefix@/doc:$EPREFIX/usr/share/doc/${PF}/html:g" GDALmake.opt.in |
105 |
|
107 |
|
106 |
econf ${pkg_conf} ${use_conf} || die "econf failed" |
108 |
econf ${pkg_conf} ${use_conf} || die "econf failed" |
107 |
# parallel makes fail on the ogr stuff (C++, what can I say?) |
109 |
# parallel makes fail on the ogr stuff (C++, what can I say?) |