Subversion Repositories libtar

Compare Revisions

Ignore whitespace Rev 48 → Rev 49

/trunk/debian/changelog
1,3 → 1,10
libtar (1.2.20-8) unstable; urgency=low
 
* Convert debian/rules to modern dh style and upgrade to compat level
11, enabling Multi-Arch.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 25 Aug 2019 17:57:21 +0200
 
libtar (1.2.20-7) unstable; urgency=low
 
* no_strip.patch: make install must not strip binaries; it breaks cross
/trunk/debian/compat
1,0 → 0,0
7
11
/trunk/debian/control
2,7 → 2,7
Section: libs
Priority: optional
Maintainer: Magnus Holmgren <holmgren@debian.org>
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), dh-autoreconf,
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 11~), automake,
autoconf, libtool
Standards-Version: 3.9.8
Homepage: http://repo.or.cz/w/libtar.git
11,6 → 11,7
 
Package: libtar-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: libtar0 (= ${binary:Version}), ${misc:Depends}
Description: C library for manipulating tar archives (development files)
19,6 → 20,7
 
Package: libtar0
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: libtar
Breaks: libtar
/trunk/debian/libtar-dev.install
1,4 → 1,4
usr/include/libtar.h
usr/include/libtar_listhash.h
usr/lib/lib*.a
usr/lib/lib*so
usr/lib/*/lib*.a
usr/lib/*/lib*so
/trunk/debian/libtar0.install
1,0 → 0,0
usr/lib/lib*.so.*
usr/lib/*/lib*.so.*
/trunk/debian/rules
1,74 → 1,7
#!/usr/bin/make -f
 
export LIBTOOLIZE = libtoolize --install
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
%:
dh $@
 
buildflags = --build=$(DEB_BUILD_GNU_TYPE)
ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
buildflags += --host=$(DEB_HOST_GNU_TYPE)
endif
 
configure: configure-stamp
configure-stamp:
dh_testdir
[ -f debian/autoreconf.before ] || dh_autoreconf
./configure $(buildflags) \
--prefix=/usr \
--without-zlib \
--mandir=\$${prefix}/share/man \
$(shell dpkg-buildflags --export=configure)
touch configure-stamp
 
build-arch: build
build-indep:
build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch build-stamp
 
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) check
endif
 
clean:
dh_testdir
dh_testroot
# Stale build files
[ ! -f Makefile ] || $(MAKE) distclean
-rm -f build-stamp configure-stamp
dh_autoreconf_clean
dh_clean libtool configure
 
install: build-stamp
dh_testdir
dh_testroot
dh_prep
 
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
binary-indep:
 
binary-arch: install
dh_testdir
dh_testroot
dh_install --sourcedir=debian/tmp
 
dh_installdocs
dh_installexamples
dh_installman
dh_installchangelogs ChangeLog
dh_link
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
 
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
override_dh_auto_configure:
dh_auto_configure -- --without-zlib