Author: hamish-guest
Date: 2009-08-29 15:44:40 +0000 (Sat, 29 Aug 2009)
New Revision: 2404

Added:
   packages/mbsystem/trunk/debian/rules
Log:
very rough broad strokes

Added: packages/mbsystem/trunk/debian/rules
===================================================================
--- packages/mbsystem/trunk/debian/rules                                (rev 0)
+++ packages/mbsystem/trunk/debian/rules        2009-08-29 15:44:40 UTC (rev 
2404)
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+
+
+
+
+# apply patches
+include /usr/share/dpatch/dpatch.make
+
+
+# configure
+./install_makefiles
+
+# make
+make all
+
+
+# install
+## sort of modeled after GMT packaging:
+install bin/* /usr/lib/mbsystem/bin
+install --mode=644 lib/* /usr/lib/mbsystem
+install --mode=644 man/manl/* /usr/share/man/man1
+install --mode=644 html /usr/share/doc/mbsystem/html
+install --mode=644 ps /usr/share/doc/mbsystem/ps
+install --mode=644 share /usr/share/mbsystem
+install --mode=644 include /usr/lib/mbsystem/include
+


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

Reply via email to