2018-02-19 12:28:17 +00:00
|
|
|
# Template file for 'grass'
|
|
|
|
pkgname=grass
|
2018-07-15 06:54:50 +00:00
|
|
|
version=7.4.1
|
|
|
|
revision=1
|
2018-02-19 12:28:17 +00:00
|
|
|
_binver=${version//./}
|
|
|
|
_binver=${_binver:0:2}
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--prefix=\${DESTDIR}/usr/share --bindir=\${DESTDIR}/usr/bin
|
|
|
|
--with-freetype-includes=${XBPS_CROSS_BASE}/usr/include/freetype2"
|
|
|
|
hostmakedepends="flex libgdal-tools pkg-config python-numpy"
|
|
|
|
makedepends="proj-devel tiff-devel libgdal-devel sqlite-devel
|
|
|
|
fftw-devel cairo-devel glu-devel wxPython-devel"
|
|
|
|
depends="python-numpy wxPython"
|
|
|
|
short_desc="Geographic Resources Analysis Support System - GIS"
|
|
|
|
maintainer="Alex Jarosch <research@alexj.at>"
|
2018-07-15 06:54:50 +00:00
|
|
|
license="GPL-2.0-or-later"
|
2018-02-19 12:28:17 +00:00
|
|
|
homepage="https://grass.osgeo.org/"
|
|
|
|
distfiles="https://grass.osgeo.org/grass${_binver}/source/${pkgname}-${version}.tar.gz"
|
2018-07-15 06:54:50 +00:00
|
|
|
checksum=560b8669caaafa9e8dbd4bbf2b4b4bbab7dca1cc46ee828eaf26c744fe0635fc
|
2018-02-19 12:28:17 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# fixes a todo in GISBASE
|
|
|
|
sed -i ${DESTDIR}/usr/bin/grass${_binver} \
|
|
|
|
-e "105s;\(gisbase =\).*;\1 \"/usr/share/grass-${version}\";"
|
|
|
|
}
|