[metview] 11/97: Install libs in m-a directory

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Sep 1 09:18:40 UTC 2015


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

mckinstry pushed a commit to branch master
in repository metview.

commit db51ddaf4b4a42f71f38bef33bff5f5a7ac97f46
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Dec 14 20:06:12 2013 +0000

    Install libs in m-a directory
    
    Signed-off-by: Alastair McKinstry <mckinstry at debian.org>
---
 debian/rules | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index e9f2a84..b49f333 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,21 @@ DEB_CFLAGS_MAINT_APPEND:= -Wall -pedantic
 export DEB_BUILD_MAINT_OPTIONS
 export DEB_CFLAGS_MAINT_APPEND
 
+DESTDIR:=`pwd`/debian/tmp/
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
+TOPDIR=:=`pwd`
 
 # magic debhelper rule
 %:
-	dh $@
+	dh $@ --with autoconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		--enable-magics \
 		LIBS=" -lterralib" CPPFLAGS=" -I/usr/include/terralib/kernel "
+
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p debian/libmetview-dev/$(LIBDIR)
+	cp debian/tmp/usr/lib/*.a debian/libmetview-dev/$(LIBDIR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/metview.git



More information about the debian-science-commits mailing list