]> git.sven.stormbind.net Git - sven/tclcurl.git/commitdiff
Continue to move the libs to /usr/lib/tcltk/ for now against the will of the buildsys...
authorSven Hoexter <sven@timegate.de>
Sat, 2 Jun 2012 17:51:10 +0000 (19:51 +0200)
committerSven Hoexter <sven@timegate.de>
Sat, 2 Jun 2012 18:01:58 +0000 (20:01 +0200)
debian/changelog
debian/rules

index b34ddb733ab1bf3d0294f6a31aa2cb99282dcb0c..4e2cc532677feaa4a5c8bc8598e69225774a036c 100644 (file)
@@ -12,6 +12,9 @@ tclcurl (7.22.0-1) UNRELEASED; urgency=low
   * Change Standards-Version to 3.9.3 - no changes required.
   * Update copyright year and download location in debian/copyright.
   * Update homepage in debian/watch and debian/control.
+  * Continue to move the libs to /usr/lib/tcltk/ for now against
+    the will of the buildsystem. Original installation path is
+    now architecture dependend.
 
  -- Sven Hoexter <hoexter@debian.org>  Sat, 02 Jun 2012 19:02:30 +0200
 
index f47ff4f387c1197beee2d5e9f071e6ea2b9ed4ae..f3638f807c35883e9428f47886c60a29b2dd12a8 100755 (executable)
@@ -4,6 +4,7 @@
 #export DH_VERBOSE=1
 
 export DEB_LDFLAGS_MAINT_PREPEND := -Wl,-z,defs -Wl,--as-needed
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
        dh $@ --with quilt
@@ -21,12 +22,13 @@ override_dh_auto_install:
        dh_auto_install --destdir=$(CURDIR)/debian/tclcurl
 
        mkdir $(CURDIR)/debian/tclcurl/usr/lib/tcltk
-       mv $(CURDIR)/debian/tclcurl/usr/lib/TclCurl* \
+       mv $(CURDIR)/debian/tclcurl/usr/lib/$(DEB_HOST_MULTIARCH)/TclCurl* \
                $(CURDIR)/debian/tclcurl/usr/lib/tcltk
        rm -rf \
                $(CURDIR)/debian/tclcurl/usr/share/man/mann \
                $(CURDIR)/debian/tclcurl/usr/bin \
-               $(CURDIR)/debian/tclcurl/usr/include
+               $(CURDIR)/debian/tclcurl/usr/include \
+               $(CURDIR)/debian/tclcurl/usr/lib/$(DEB_HOST_MULTIARCH)
 
        chmod 644 \
                $(CURDIR)/tests/*.tcl \