[sosi2osm] 02/02: Added patch to fix install
Ruben Undheim
rubund-guest at moszumanska.debian.org
Mon Oct 13 21:52:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository sosi2osm.
commit b27c30642f711df05b68ec1c66073e4f6937a38d
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Mon Oct 13 21:46:14 2014 +0000
Added patch to fix install
---
debian/patches/02_fix_install.patch | 31 +++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 32 insertions(+)
diff --git a/debian/patches/02_fix_install.patch b/debian/patches/02_fix_install.patch
new file mode 100644
index 0000000..2c9016e
--- /dev/null
+++ b/debian/patches/02_fix_install.patch
@@ -0,0 +1,31 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+--- sosi2osm-1.0.0.orig/Makefile
++++ sosi2osm-1.0.0/Makefile
+@@ -13,14 +13,14 @@ $(PROGNAME): $(OBJFILES)
+ $(CXX) $^ $(LDFLAGS) -o $@
+
+ install: sosi2osm
+- install -m 0755 sosi2osm /usr/local/bin
+- mkdir -p /usr/local/share/sosi2osm/lua
+- install -m 0644 lua/*.lua /usr/local/share/sosi2osm/lua
++ install -m 0755 sosi2osm $(DESTDIR)/bin
++ mkdir -p $(DESTDIR)/share/sosi2osm/lua
++ install -m 0644 lua/*.lua $(DESTDIR)/share/sosi2osm/lua
+
+ uninstall:
+- rm /usr/local/share/sosi2osm/lua/*.lua
+- rmdir /usr/local/share/sosi2osm/lua
+- rmdir /usr/local/share/sosi2osm
+- rm /usr/local/bin/sosi2osm
++ rm $(DESTDIR)/share/sosi2osm/lua/*.lua
++ rmdir $(DESTDIR)/share/sosi2osm/lua
++ rmdir $(DESTDIR)/share/sosi2osm
++ rm $(DESTDIR)/bin/sosi2osm
+
+ .PHONY: install uninstall clean all
diff --git a/debian/patches/series b/debian/patches/series
index d6b74e7..3806975 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01_fix_libsearchpath.patch
+02_fix_install.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/sosi2osm.git
More information about the Pkg-grass-devel
mailing list