Author: smr
Date: 2009-04-22 05:09:55 +0000 (Wed, 22 Apr 2009)
New Revision: 3313

Modified:
   trunk/packages/gdcm/trunk/debian/rules
Log:
Fix install location of python-gdcm files.

Modified: trunk/packages/gdcm/trunk/debian/rules
===================================================================
--- trunk/packages/gdcm/trunk/debian/rules      2009-04-22 04:52:51 UTC (rev 
3312)
+++ trunk/packages/gdcm/trunk/debian/rules      2009-04-22 05:09:55 UTC (rev 
3313)
@@ -39,6 +39,7 @@
 TARGET := $(CURDIR)/debian/tmp
 
 PYVERS  := $(shell pyversions -vr)
+PYMODDIR := /usr/lib/$(shell pyversions -r)
 
 debian/configure-stamp: $(PYVERS:%=debian/configure-python%-stamp) 
        touch $@
@@ -94,6 +95,9 @@
 install-python%:
        $(MAKE) $(JOBS) -C $(BUILD)-python$* install DESTDIR=$(TARGET)
 
+       # correct location of python-gdcm files
+       mv $(TARGET)/usr/lib/python $(TARGET)/$(PYMODDIR)
+
        # correct location of libgdcm-cil files
        cd $(TARGET)/usr/lib && mkdir libgdcm-cil
        cd $(TARGET)/usr/lib && mv gdcm-*/*.dll gdcm-*/libgdcm.so libgdcm-cil


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit

Reply via email to