This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository osm-tile-server.

commit d7dcd3f89063747a66bc1aa105db033c26ea9ebe
Author: Ruben Undheim <ruben.undh...@gmail.com>
Date:   Thu Sep 3 19:19:25 2015 +0200

    Added binary program
---
 Makefile                            |  6 ++++++
 debian/control                      |  2 +-
 debian/osm-tile-server-base.install |  1 +
 src/Makefile                        | 10 ++++++++++
 src/osm-tile-server-import.c        | 11 +++++++++++
 5 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..826d75b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+
+default:
+       ${MAKE} -C src
+
+install:
+       ${MAKE} -C src install
diff --git a/debian/control b/debian/control
index edf7dde..5db6481 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Description: Metapackage for installing OSM tile server
  This is a metapackage for installing the OSM tile server.
 
 Package: osm-tile-server-base
-Architecture: all
+Architecture: any
 Depends: ${misc:Depends},
         openstreetmap-carto, node-carto,
         postgis, postgresql-contrib, osm2pgsql, adduser
diff --git a/debian/osm-tile-server-base.install 
b/debian/osm-tile-server-base.install
index 7da875e..b1693d1 100644
--- a/debian/osm-tile-server-base.install
+++ b/debian/osm-tile-server-base.install
@@ -1 +1,2 @@
+usr/bin/*
 samples usr/share/osm-tile-server-base/
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..32be332
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,10 @@
+
+
+default: osm-tile-server-import
+
+install: osm-tile-server-import
+       mkdir -p ${DESTDIR}/usr/bin
+       install osm-tile-server-import ${DESTDIR}/usr/bin/
+
+osm-tile-server-import: osm-tile-server-import.o
+       ${CC} -o osm-tile-server-import osm-tile-server-import.o
diff --git a/src/osm-tile-server-import.c b/src/osm-tile-server-import.c
new file mode 100644
index 0000000..2064db2
--- /dev/null
+++ b/src/osm-tile-server-import.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+
+int main(int argc, char **argv)
+{
+       system("whoami");
+
+       return 0;
+
+}
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/osm-tile-server.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to