Updating to debhelper version 9.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
fc6608e14a
commit
820cea8e77
8 changed files with 40 additions and 9 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -76,7 +76,7 @@ lzlib (0.9-1) unstable; urgency=low
|
||||||
|
|
||||||
lzlib (0.8-1) unstable; urgency=low
|
lzlib (0.8-1) unstable; urgency=low
|
||||||
|
|
||||||
* Adding explicit debian source version 1.0 until switch to 3.0.
|
* Adding explicit source version 1.0 until switch to 3.0.
|
||||||
* Updating year in copyright file.
|
* Updating year in copyright file.
|
||||||
* Merging upstream version 0.8.
|
* Merging upstream version 0.8.
|
||||||
* Updating year in copyright file.
|
* Updating year in copyright file.
|
||||||
|
|
2
debian/compat
vendored
2
debian/compat
vendored
|
@ -1 +1 @@
|
||||||
8
|
9
|
||||||
|
|
3
debian/control
vendored
3
debian/control
vendored
|
@ -2,13 +2,14 @@ Source: lzlib
|
||||||
Section: libs
|
Section: libs
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Daniel Baumann <daniel.baumann@progress-technologies.net>
|
Maintainer: Daniel Baumann <daniel.baumann@progress-technologies.net>
|
||||||
Build-Depends: debhelper (>= 8), texinfo
|
Build-Depends: debhelper (>= 9), texinfo
|
||||||
Standards-Version: 3.9.2
|
Standards-Version: 3.9.2
|
||||||
Homepage: http://www.nongnu.org/lzip/lzlib.html
|
Homepage: http://www.nongnu.org/lzip/lzlib.html
|
||||||
|
|
||||||
Package: liblz1
|
Package: liblz1
|
||||||
Section: libs
|
Section: libs
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
Pre-Depends: ${multiarch:Pre-Depends}
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
Description: data compressor based on the LZMA algorithm (library)
|
Description: data compressor based on the LZMA algorithm (library)
|
||||||
The lzlib compression library provides in-memory LZMA compression and
|
The lzlib compression library provides in-memory LZMA compression and
|
||||||
|
|
8
debian/liblz-dev.install
vendored
8
debian/liblz-dev.install
vendored
|
@ -1,4 +1,4 @@
|
||||||
/usr/include
|
usr/include
|
||||||
/usr/lib/*.a
|
usr/lib/i386-linux-gnu/*.a
|
||||||
/usr/lib/*.so
|
usr/lib/i386-linux-gnu/*.so
|
||||||
/usr/share/info
|
usr/share/info
|
||||||
|
|
4
debian/liblz-dev.install.in
vendored
Normal file
4
debian/liblz-dev.install.in
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
usr/include
|
||||||
|
usr/lib/@DEB_HOST_MULTIARCH@/*.a
|
||||||
|
usr/lib/@DEB_HOST_MULTIARCH@/*.so
|
||||||
|
usr/share/info
|
2
debian/liblz1.install
vendored
2
debian/liblz1.install
vendored
|
@ -1 +1 @@
|
||||||
/usr/lib/*.so.*
|
usr/lib/i386-linux-gnu/*.so.*
|
||||||
|
|
1
debian/liblz1.install.in
vendored
Normal file
1
debian/liblz1.install.in
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
usr/lib/@DEB_HOST_MULTIARCH@/*.so.*
|
27
debian/rules
vendored
27
debian/rules
vendored
|
@ -1,16 +1,34 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
SHELL := sh -e
|
||||||
|
|
||||||
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh ${@}
|
dh ${@}
|
||||||
|
|
||||||
|
override_dh_auto_clean:
|
||||||
|
dh_auto_clean
|
||||||
|
|
||||||
|
for _FILE in debian/*.install.in; \
|
||||||
|
do \
|
||||||
|
rm -f debian/$$(basename $${_FILE} .in); \
|
||||||
|
sed -e 's|@DEB_HOST_MULTIARCH@|$(DEB_HOST_MULTIARCH)|g' \
|
||||||
|
$${_FILE} > debian/$$(basename $${_FILE} .in); \
|
||||||
|
done
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
dh_auto_configure -- --enable-shared --libdir=\$${prefix}/lib
|
dh_auto_configure -- --enable-shared --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- LDCONFIG=/bin/true
|
dh_auto_install -- LDCONFIG=/bin/true
|
||||||
|
|
||||||
# adding missing symlink
|
# adding missing symlink
|
||||||
|
ifeq ($(DEB_HOST_MULTIARCH),)
|
||||||
ln -s liblz.so.1.1 debian/tmp/usr/lib/liblz.so
|
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
|
# removing unused files
|
||||||
rm -f debian/tmp/usr/share/info/dir*
|
rm -f debian/tmp/usr/share/info/dir*
|
||||||
|
@ -18,6 +36,13 @@ override_dh_auto_install:
|
||||||
override_dh_builddeb:
|
override_dh_builddeb:
|
||||||
dh_builddeb -- -Zgzip -z9
|
dh_builddeb -- -Zgzip -z9
|
||||||
|
|
||||||
|
override_dh_gencontrol:
|
||||||
|
ifeq ($(DEB_HOST_MULTIARCH),)
|
||||||
|
dh_gencontrol
|
||||||
|
else
|
||||||
|
dh_gencontrol -- -Vmultiarch:Pre-Depends="multiarch-support"
|
||||||
|
endif
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
dh_install --fail-missing
|
dh_install --fail-missing
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue