[med-svn] [libbiod] 03/03: Add needed Build-Depends and overrides in d/rules to use meson
Andreas Tille
tille at debian.org
Wed Mar 1 12:27:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libbiod.
commit 54a2d88ec6430e43f62924206f4f955f13d2cbd5
Author: Andreas Tille <tille at debian.org>
Date: Wed Mar 1 13:26:29 2017 +0100
Add needed Build-Depends and overrides in d/rules to use meson
---
debian/control | 4 +++-
debian/rules | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 6288592..eb659f5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,9 @@ Uploaders: Andreas Tille <tille at debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 10),
- meson
+ ldc,
+ meson,
+ pkg-config
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libbiod.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/libbiod.git
diff --git a/debian/rules b/debian/rules
index 04edfd2..c844174 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,15 @@
# DH_VERBOSE := 1
export LC_ALL=C.UTF-8
+CONFIG_FLAGS := --prefix=/usr \
+ --buildtype=plain
+
+INSTALL_DIR := $(CURDIR)/debian/libbiod-dev
+export DFLAGS=-O -g -release
+
%:
dh $@
+
+override_dh_auto_configure:
+ mkdir build
+ (cd build && meson $(CONFIG_FLAGS) ..)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libbiod.git
More information about the debian-med-commit
mailing list