[med-svn] [libbiod] 01/01: Fix build

Matthias Klumpp mak at moszumanska.debian.org
Fri Mar 3 10:05:49 UTC 2017


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

mak pushed a commit to branch master
in repository libbiod.

commit aa34efd0684f1e529b9eb811f53c4d3a8a07a9c7
Author: Matthias Klumpp <matthias at tenstral.net>
Date:   Fri Mar 3 10:59:56 2017 +0100

    Fix build
---
 debian/control             | 12 ++++++++++--
 debian/libbiod-dev.install |  3 +++
 debian/libbiod0.install    |  1 +
 debian/rules               | 20 +++++++++++++++++---
 4 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 7e64bcd..f689b91 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10),
                ldc,
-               meson,
+               meson (>= 0.38),
                pkg-config,
                libundead-dev,
                zlib1g-dev
@@ -14,7 +14,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libbiod.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/libbiod.git
 Homepage: https://github.com/biod/BioD
 
-Package: libbiod
+Package: libbiod0
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends}
@@ -28,3 +28,11 @@ Description: bioinformatics library in D
     - reducing the GC overhead by avoiding unnecessary memory allocations
   * Offer support for manipulating common biological data formats.
   * Write clear documented and maintainable codebase.
+
+Package: libbiod-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: bioinformatics library in D (development files)
+ TODO
diff --git a/debian/libbiod-dev.install b/debian/libbiod-dev.install
new file mode 100644
index 0000000..0fa315b
--- /dev/null
+++ b/debian/libbiod-dev.install
@@ -0,0 +1,3 @@
+usr/include/d/bio/*
+usr/lib/*/libbiod.so
+usr/lib/*/pkgconfig/biod.pc
diff --git a/debian/libbiod0.install b/debian/libbiod0.install
new file mode 100644
index 0000000..16c829a
--- /dev/null
+++ b/debian/libbiod0.install
@@ -0,0 +1 @@
+usr/lib/*/libbiod.so.*
diff --git a/debian/rules b/debian/rules
index c844174..fa9dd1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,10 @@
 #!/usr/bin/make -f
-
 # DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
 
 CONFIG_FLAGS := --prefix=/usr \
                 --buildtype=plain
 
-INSTALL_DIR := $(CURDIR)/debian/libbiod-dev
+INSTALL_DIR := $(CURDIR)/debian/tmp
 export DFLAGS=-O -g -release
 
 %:
@@ -15,3 +13,19 @@ export DFLAGS=-O -g -release
 override_dh_auto_configure:
 	mkdir build
 	(cd build && meson $(CONFIG_FLAGS) ..)
+
+override_dh_auto_build:
+	ninja -Cbuild -v
+
+override_dh_auto_install:
+	DESTDIR=$(INSTALL_DIR) ninja -Cbuild -v install
+
+override_dh_install:
+	dh_install --list-missing
+
+override_dh_auto_test:
+	ninja -Cbuild -v test
+
+override_dh_clean:
+	rm -rf build/
+	dh_clean

-- 
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