[gadap] 11/24: Add multarch pkg-config

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Aug 27 14:35:33 UTC 2015


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

mckinstry pushed a commit to tag debian/2.0-4
in repository gadap.

commit 5dbdc1c246d5984c4513f762139dd3a2797c854a
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Oct 25 12:55:36 2011 +0100

    Add multarch pkg-config
---
 debian/changelog | 3 ++-
 debian/rules     | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fe5e3a7..cf7595d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 gadap (2.0-2) unstable; urgency=low
 
-  * Add pkg-config file. 
+  * Add pkg-config file. Get gadap-config to derive its data from it,
+    so that its multarch-correct.
 
  -- Alastair McKinstry <mckinstry at debian.org>  Tue, 25 Oct 2011 12:39:01 +0100
 
diff --git a/debian/rules b/debian/rules
index 3b7fac9..1ee7c79 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
 
 # export DH_VERBOSE=1
 
+DESTDIR:=`pwd`/debian/tmp/
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
+
 # The magic debhelper  rule
 %:
 	dh $@ --with autoreconf
@@ -9,3 +13,4 @@
 override_dh_auto_install:
 	dh_auto_install
 	rm debian/libgadap-dev/usr/bin/test
+	dh_install -p libgadap-dev gadap.c $(LIBDIR)/pkgconfig

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



More information about the debian-science-commits mailing list