Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 381353
Collapse All | Expand All

(-)gdal-1.8.1.ebuild.orig (-3 / +7 lines)
Lines 2-8 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.8.1.ebuild,v 1.3 2011/07/26 16:21:29 neurogeek Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.8.1.ebuild,v 1.3 2011/07/26 16:21:29 neurogeek Exp $
4
4
5
EAPI=2
5
EAPI=3
6
6
7
WANT_AUTOCONF="2.5"
7
WANT_AUTOCONF="2.5"
8
8
Lines 250-256 Link Here
250
pkg_postinst() {
250
pkg_postinst() {
251
	if use python; then
251
	if use python; then
252
		python_need_rebuild
252
		python_need_rebuild
253
		python_mod_optimize ${PN}.py ogr.py
253
		python_mod_optimize \
254
			${PN}.py gdalconst.py gdalnumeric.py ogr.py osr.py \
255
			osgeo
254
	fi
256
	fi
255
	echo
257
	echo
256
	elog "Check available image and data formats after building with"
258
	elog "Check available image and data formats after building with"
Lines 259-264 Link Here
259
261
260
pkg_postrm() {
262
pkg_postrm() {
261
	if use python; then
263
	if use python; then
262
		python_mod_cleanup ${PN}.py ogr.py
264
		python_mod_cleanup \
265
			${PN}.py gdalconst.py gdalnumeric.py ogr.py osr.py \
266
			osgeo
263
	fi
267
	fi
264
}
268
}

Return to bug 381353