Skip to content
Permalink
Browse files

grass related debian packaging update

  • Loading branch information
jef-n committed Apr 11, 2015
1 parent 0405a65 commit 1a547d070f236960bab1486b3882ce7c14fa0622
Showing with 6 additions and 4 deletions.
  1. +1 −1 debian/libqgisgrass{QGIS_ABI}.install
  2. +3 −3 debian/qgis-plugin-grass.install.in
  3. +2 −0 debian/rules
@@ -1 +1 @@
usr/lib/libqgisgrass.so.{QGIS_ABI}
usr/lib/libqgisgrass{GRASSVER}.so.{QGIS_ABI}
@@ -1,6 +1,6 @@
usr/lib/qgis/grass/modules/qgis.d.rast
usr/lib/qgis/grass/modules/qgis.g.info
usr/lib/qgis/grass/bin/qgis.g.browser
usr/lib/qgis/plugins/libgrassplugin.so
usr/lib/qgis/plugins/libgrassprovider.so
usr/lib/qgis/plugins/libgrassrasterprovider.so
usr/lib/qgis/plugins/libgrassplugin{GRASSVER}.so
usr/lib/qgis/plugins/libgrassprovider{GRASSVER}.so
usr/lib/qgis/plugins/libgrassrasterprovider{GRASSVER}.so
@@ -40,6 +40,7 @@ QGIS_MINOR=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_MINOR "\([0-9]*\)")/\1/p
QGIS_PATCH=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_PATCH "\([0-9]*\)")/\1/p' CMakeLists.txt)
QGIS_ABI=$(QGIS_MAJOR).$(QGIS_MINOR).$(QGIS_PATCH)
GRASS=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2))
GRASSVER=$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1))

CMAKE_OPTS := \
-DBUILDNAME=$(DEB_BUILD_NAME) \
@@ -137,6 +138,7 @@ $(2): $(1)
-e "s#\{QT_PLUGIN_DIR\}#$(QT_PLUGIN_DIR)#g" \
-e "s/\{QGIS_ABI\}/$(QGIS_ABI)/g" \
-e "s/\{GRASS\}/$(GRASS)/g" \
-e "s/\{GRASSVER\}/$(GRASSVER)/g" \
$$^ >$$@

templates:: $(2)

0 comments on commit 1a547d0

Please sign in to comment.
You can’t perform that action at this time.