mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
New package: grass-7.4.0
Closes: #11742 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
b96e1e49c0
commit
53cb71332e
1 changed files with 25 additions and 0 deletions
25
srcpkgs/grass/template
Normal file
25
srcpkgs/grass/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'grass'
|
||||||
|
pkgname=grass
|
||||||
|
version=7.4.0
|
||||||
|
revision=1
|
||||||
|
_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>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="https://grass.osgeo.org/"
|
||||||
|
distfiles="https://grass.osgeo.org/grass${_binver}/source/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=cb6fa188e030a3a447fc5451fbe0ecbeb4069ee2fd1bf52ed8e40e9b89e293cc
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# fixes a todo in GISBASE
|
||||||
|
sed -i ${DESTDIR}/usr/bin/grass${_binver} \
|
||||||
|
-e "105s;\(gisbase =\).*;\1 \"/usr/share/grass-${version}\";"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue