Skip to content
Commits on Source (3)
libgdal-grass (2.3.0~rc1-1~exp2) UNRELEASED; urgency=medium
* Drop GRASSTABLES_DIR rules, removed in GDAL 2.2.0.
* Use dh_auto_install instead of make.
* Strip trailing whitespace from changelog & control files.
-- Bas Couwenberg <sebastic@debian.org> Mon, 07 May 2018 14:43:59 +0200
libgdal-grass (2.3.0~rc1-1~exp1) experimental; urgency=medium
* New upstream release candidate.
......@@ -613,4 +621,3 @@ libgdal-grass (1.2.6-1) unstable; urgency=low
* Initial release (Closes: #248832)
-- Steve Halasz <debian@adkgis.org> Mon, 13 Jun 2005 13:00:27 -0400
......@@ -31,4 +31,3 @@ Description: GRASS extension for the GDAL library
provides access to GRASS data via GDAL.
.
This package provides the GDAL GRASS plugin.
......@@ -19,11 +19,6 @@ GRASS=grass$(subst .,,$(shell pkg-config --modversion grass | cut -d. -f1,2))
GRASS_ABI=grass$(subst .,,$(shell pkg-config --modversion grass | cut -d. -f1,2,3 | sed -e 's/RC/-/'))
GDAL=$(shell cat VERSION | cut -d. -f1,2)
NJOBS := -j1
ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
NJOBS := -j$(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
endif
%:
dh $@ --with autoreconf --parallel
......@@ -51,14 +46,7 @@ override_dh_auto_configure:
--with-postgres-includes=$(shell pg_config --includedir)
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL)/grass
$(MAKE) $(NJOBS) install \
AUTOLOAD_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/gdalplugins/$(GDAL) \
GRASSTABLES_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL)/grass
# removes redundant stuff already installed by grass
rm -rf $(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL)
dh_auto_install -- AUTOLOAD_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/gdalplugins/$(GDAL)
override_dh_shlibdeps:
dh_shlibdeps -l.:/usr/lib/$(GRASS)/lib
......