Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
grass related debian packaging update
  • Loading branch information
jef-n committed Apr 11, 2015
1 parent 0405a65 commit 1a547d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion debian/libqgisgrass{QGIS_ABI}.install
@@ -1 +1 @@
usr/lib/libqgisgrass.so.{QGIS_ABI}
usr/lib/libqgisgrass{GRASSVER}.so.{QGIS_ABI}
6 changes: 3 additions & 3 deletions debian/qgis-plugin-grass.install.in
@@ -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
2 changes: 2 additions & 0 deletions debian/rules
Expand Up @@ -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) \
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1a547d0

Please sign in to comment.