[med-svn] [sambamba] 02/02: Update debian/rules file
Matthias Klumpp
mak at moszumanska.debian.org
Sun Apr 30 16:05:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to branch master
in repository sambamba.
commit 7244686a7f63f08e974f864513bf779aeec8fb1d
Author: Matthias Klumpp <matthias at tenstral.net>
Date: Sun Apr 30 17:54:12 2017 +0200
Update debian/rules file
---
debian/control | 12 ++++++++----
debian/rules | 26 +++++++++++++++++++++++---
2 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index f677eaa..7058e73 100644
--- a/debian/control
+++ b/debian/control
@@ -5,11 +5,14 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
Uploaders: Andreas Tille <tille at debian.org>
Build-Depends: debhelper (>= 10),
ldc,
- libundead-dev,
libbiod-dev,
- liblz4-dev,
libhts-dev,
- python
+ liblz4-dev,
+ libundead-dev,
+ meson (>= 0.40),
+ pkg-config,
+ python,
+ zlib1g-dev
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/sambamba.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/sambamba.git
@@ -17,7 +20,8 @@ Homepage: https://github.com/lomereiter/sambamba
Package: sambamba
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
Description: Tools for working with SAM/BAM data
Sambamba provides tools for
* Powerful filtering with sambamba view --filter
diff --git a/debian/rules b/debian/rules
index 58849b3..73a2562 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,31 @@ export LC_ALL=C.UTF-8
# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+SAMBAMBA_FLAGS := --prefix=/usr \
+ --buildtype=plain
+
+INSTALL_DIR := $(CURDIR)/debian/sambamba
+
+export DFLAGS=-O3 -g -release
+
+# we can not build with NEON on armhf, the Debian builders
+# don't support it.
+ifeq ($(DEB_HOST_ARCH),armhf)
+ DFLAGS += -mattr=-neon
+endif
+
%:
dh $@
-override_dh_auto_clean:
- rm -rf build/
+override_dh_auto_configure:
+ mkdir build
+ (cd build && meson $(SAMBAMBA_FLAGS) ..)
override_dh_auto_build:
- make sambamba-ldmd2-64
+ ninja -Cbuild -v
+
+override_dh_auto_install:
+ DESTDIR=$(INSTALL_DIR) ninja -Cbuild -v install
+
+override_dh_auto_clean:
+ rm -rf build/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sambamba.git
More information about the debian-med-commit
mailing list