diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 13:35:00 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 13:35:00 +0000 |
commit | 67ba2fdca1ff3a06a3802e083f7973004bb5e419 (patch) | |
tree | a60481a422cee93812b489579d307f3a1d29e545 | |
parent | Adding debian version 0.5-1. (diff) | |
download | lzlib-67ba2fdca1ff3a06a3802e083f7973004bb5e419.tar.xz lzlib-67ba2fdca1ff3a06a3802e083f7973004bb5e419.zip |
Adding debian version 0.5-2.debian/0.5-2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/control | 7 | ||||
-rwxr-xr-x | debian/rules | 69 |
3 files changed, 18 insertions, 66 deletions
diff --git a/debian/changelog b/debian/changelog index 56799a8..19d25cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +lzlib (0.5-2) unstable; urgency=low + + * Minimizing rules file, which also dropps not required autotools foo + (Closes: #533705). + * Adding misc depends. + + -- Daniel Baumann <daniel@debian.org> Sun, 09 Aug 2009 11:13:37 +0200 + lzlib (0.5-1) unstable; urgency=low * Correcting wrong email address in previous changelog entry. diff --git a/debian/control b/debian/control index de501fe..0c94ec1 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Vcs-Git: git://git.debian.net/git/debian/lzlib.git Package: liblz0 Section: libs Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} Description: data compressor based on the LZMA algorithm (library) The lzlib compression library provides in-memory LZMA compression and decompression functions, including integrity checking of the uncompressed data. @@ -20,7 +20,7 @@ Description: data compressor based on the LZMA algorithm (library) Package: liblz-dev Section: libdevel Architecture: any -Depends: liblz0 (= ${binary:Version}) +Depends: ${misc:Depends}, liblz0 (= ${binary:Version}) Description: data compressor based on the LZMA algorithm (development) The lzlib compression library provides in-memory LZMA compression and decompression functions, including integrity checking of the uncompressed data. @@ -32,7 +32,8 @@ Package: liblz-dbg Section: debug Priority: extra Architecture: any -Depends: liblz0 (= ${binary:Version}), liblz-dev (= ${binary:Version}) +Depends: + ${misc:Depends}, liblz0 (= ${binary:Version}), liblz-dev (= ${binary:Version}) Description: data compressor based on the LZMA algorithm (debug) The lzlib compression library provides in-memory LZMA compression and decompression functions, including integrity checking of the uncompressed data. diff --git a/debian/rules b/debian/rules index 1af528b..28bc6b9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,73 +1,16 @@ #!/usr/bin/make -f -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +%: + dh ${@} -ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) - CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) -else - CROSS= --build $(DEB_BUILD_GNU_TYPE) -endif - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - rm -f config.guess configu.sub - - [ ! -f Makefile ] || $(MAKE) distclean - - dh_clean - -config.status: configure - dh_testdir - -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif - - ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" - -build: build-stamp -build-stamp: config.status - dh_testdir - - $(MAKE) - - touch build-stamp - -install: build - dh_testdir - dh_testroot - dh_prep +override_dh_auto_configure: + dh_auto_configure -- --libdir=\$${prefix}/lib +override_dh_auto_install: $(MAKE) LDCONFIG=/bin/true prefix=$(CURDIR)/debian/tmp/usr install rm -f debian/tmp/usr/share/info/dir* ln -s liblz.so.0.3 debian/tmp/usr/lib/liblz.so -binary: binary-arch - -binary-arch: install - dh_testdir - dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs - dh_installexamples - dh_install --fail-missing --sourcedir=debian/tmp +override_dh_strip: dh_strip --dbg-package=liblz-dbg - dh_compress - dh_fixperms - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary-indep: - -.PHONY: clean build install binary binary-arch binary-indep |