[med-svn] [irtk] 03/06: d/*: add rules to build irtk executables
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Mar 17 17:33:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository irtk.
commit 50d6d086589e509d592cd7e1da5d5ae9804c8c8d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Mar 17 17:04:52 2015 +0000
d/*: add rules to build irtk executables
---
debian/irtk.install | 1 +
debian/irtk.lintian-overrides | 2 ++
debian/rules | 21 ++++++++++-----------
3 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/debian/irtk.install b/debian/irtk.install
new file mode 100644
index 0000000..4cb4bd3
--- /dev/null
+++ b/debian/irtk.install
@@ -0,0 +1 @@
+/usr/bin/*
diff --git a/debian/irtk.lintian-overrides b/debian/irtk.lintian-overrides
new file mode 100644
index 0000000..95d899c
--- /dev/null
+++ b/debian/irtk.lintian-overrides
@@ -0,0 +1,2 @@
+# Upstream does not provide manpages
+irtk: binary-without-manpage
diff --git a/debian/rules b/debian/rules
index ce15cce..ca69b61 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,4 @@
#!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
@@ -16,17 +15,17 @@ include /usr/share/dpkg/default.mk
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+# out-of-tree build
+BUILDDIR = $(CURDIR)/debian/build
-# main packaging script based on dh7 syntax
%:
- dh $@
-
-# debmake generated override targets
-# This is example for Cmake (See http://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-# dh_auto_configure -- \
-# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
-
-
+ dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_WITH_TBB=ON
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf $(BUILDDIR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/irtk.git
More information about the debian-med-commit
mailing list