Dropping conditional multiarch support for pre-wheezy.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a473fb6037
commit
70a75382ce
4 changed files with 4 additions and 34 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -9,7 +9,7 @@ Homepage: http://www.nongnu.org/lzip/lzlib.html
|
|||
Package: liblz1
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Pre-Depends: ${multiarch:Pre-Depends}
|
||||
Pre-Depends: multiarch-support
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: data compressor based on the LZMA algorithm (library)
|
||||
The lzlib compression library provides in-memory LZMA compression and
|
||||
|
|
12
debian/liblz-dev.install
vendored
Executable file → Normal file
12
debian/liblz-dev.install
vendored
Executable file → Normal file
|
@ -1,12 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
DEB_HOST_MULTIARCH="$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
|
||||
|
||||
cat << EOF
|
||||
usr/include
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/*.a
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/*.so
|
||||
usr/lib/*/*.a
|
||||
usr/lib/*/*.so
|
||||
usr/share/info
|
||||
EOF
|
||||
|
|
10
debian/liblz1.install
vendored
Executable file → Normal file
10
debian/liblz1.install
vendored
Executable file → Normal file
|
@ -1,9 +1 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
DEB_HOST_MULTIARCH="$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
|
||||
|
||||
cat << EOF
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/*.so.*
|
||||
EOF
|
||||
usr/lib/*/*.so.*
|
||||
|
|
14
debian/rules
vendored
14
debian/rules
vendored
|
@ -11,26 +11,12 @@ override_dh_auto_configure:
|
|||
override_dh_auto_install:
|
||||
dh_auto_install -- LDCONFIG=/bin/true
|
||||
|
||||
# adding missing symlink
|
||||
ifeq ($(DEB_HOST_MULTIARCH),)
|
||||
ln -s liblz.so.1.1 debian/tmp/usr/lib/liblz.so
|
||||
else
|
||||
ln -s liblz.so.1.1 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/liblz.so
|
||||
endif
|
||||
|
||||
# removing unused files
|
||||
rm -f debian/tmp/usr/share/info/dir*
|
||||
|
||||
override_dh_builddeb:
|
||||
dh_builddeb -- -Zxz -z9
|
||||
|
||||
override_dh_gencontrol:
|
||||
ifeq ($(DEB_HOST_MULTIARCH),)
|
||||
dh_gencontrol
|
||||
else
|
||||
dh_gencontrol -- -Vmultiarch:Pre-Depends="multiarch-support"
|
||||
endif
|
||||
|
||||
override_dh_install:
|
||||
dh_install --fail-missing
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue