~ubuntu-branches/ubuntu/intrepid/icu/intrepid-security

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2007-11-18 11:03:10 UTC
  • Revision ID: package-import@ubuntu.com-20071118110310-be63osoodf1p9ow3
Tags: 3.6-10
It appears that amd64 requires 32-bit libraries to be in
/emul/ia32-linux/usr/lib instead of /usr/lib32.  Following zlib's
example of moving them around for amd64 only. (Closes: #451495)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
DEB_COMPRESS_EXCLUDE = html examples
40
40
DEB_INSTALL_EXAMPLES_libicu36-dev = \
41
41
        build-tree/$(DEB_TAR_SRCDIR)/samples/*
 
42
 
 
43
# Overridden for 32-bit packages on 64-bit platforms
 
44
DEB_DH_INSTALL_SOURCEDIR=debian/tmp
 
45
 
42
46
# Include cdbs rules files.
43
47
include /usr/share/cdbs/1/rules/tarball.mk
44
48
include /usr/share/cdbs/1/rules/simple-patchsys.mk
83
87
install/libicu36 install/libicu36-dev::
84
88
        $(MAKE) -C $(DEB_SRCDIR) install DESTDIR=$(CURDIR)/debian/tmp
85
89
 
 
90
binary-install/lib32icu36 binary-install/lib32icu36-dev:: DEB_DH_INSTALL_SOURCEDIR=debian/tmp32
86
91
install/lib32icu36 install/lib32icu36-dev::
87
92
        $(MAKE) -C $(DEB_SRCDIR)-build32 install DESTDIR=$(CURDIR)/debian/tmp32
88
93
 
89
94
install/icu-doc:: install/libicu36 install/libicu36-dev
90
95
        $(MAKE) -C $(DEB_SRCDIR) install-doc DESTDIR=$(CURDIR)/debian/tmp
91
96
 
 
97
ifeq ($(DEB_HOST_ARCH),amd64)
 
98
# On amd64 only, it appears that we need to put these in a different
 
99
# location.
 
100
binary-install/lib32icu36 binary-install/lib32icu36-dev::
 
101
        mkdir -p debian/$(cdbs_curpkg)/emul/ia32-linux/usr
 
102
        mv debian/$(cdbs_curpkg)/usr/lib32 debian/$(cdbs_curpkg)/emul/ia32-linux/usr/lib
 
103
endif
 
104
 
92
105
# As per upstream, icuswap is deprecated and should not be
93
106
# distributed.
94
107
binary-post-install/libicu36-dev::