| Name |
libtasn1-6 |
| Description |
Manage ASN.1 structures (runtime) |
| Version |
4.20.0-2 |
| Package Base |
|
| Homepage |
https://www.gnu.org/software/libtasn1/ |
| Maintainers |
['Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>'] |
| Contributors |
['Andreas Metzler <ametzler@debian.org>', 'Eric Dorland <eric@debian.org>', 'James Westby <jw+debian@jameswestby.net>', 'Simon Josefsson <simon@josefsson.org>'] |
| Distro-repo |
https://salsa.debian.org/gnutls-team/libtasn1 |
| Sources |
['https://sources.debian.org/data/main/libt/libtasn1-6/4.20.0-2/debian/watch'] |
| Dependencies |
['libc6'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['bison', 'debhelper-compat', 'help2man <!cross>'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
296509910b09cfa62608818bd55423bbd27c0542d8176d612afe03521882e830 |
#! /usr/bin/make -f
# Build the libtasn1 packages for Debian.
export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
export DEB_CFLAGS_MAINT_APPEND := -Wall
export DEB_CXXFLAGS_MAINT_APPEND := -Wall
# for DEB_VERSION
include /usr/share/dpkg/pkg-info.mk
AMCONFBUILDINDEP := $(shell if dh_listpackages | grep -q libtasn1-doc ; \
then echo "--enable-gtk-doc" ; \
else echo "--disable-gtk-doc"; fi)
override_dh_auto_configure:
# touch-magic when cross-compiling
if [ \
`dpkg-architecture -q DEB_BUILD_GNU_TYPE` != \
`dpkg-architecture -q DEB_HOST_GNU_TYPE` \
] ; then \
touch `grep -l help2man doc/*.[18]` ;\
fi
dh_auto_configure --verbose -- \
--disable-silent-rules \
--enable-ld-version-script --with-packager=Debian \
--disable-gtk-doc-pdf \
--with-packager-bug-reports=https://bugs.debian.org/ \
--with-packager-version="$(DEB_VERSION)" \
$(AMCONFBUILDINDEP)
override_dh_autoreconf:
if ! dh_listpackages | grep -q libtasn1-doc ; \
then env GTKDOCIZE="echo DISABLED running gtkdocize" \
dh_autoreconf --verbose ; \
else \
dh_autoreconf --verbose ; \
fi
override_dh_makeshlibs:
dh_makeshlibs -V 'libtasn1-6 (>=4.16-0)' -- -c4
override_dh_auto_build:
dh_auto_build --verbose
ifeq ($(filter --disable-gtk-doc,$(AMCONFBUILDINDEP)),)
if ! test -e doc/libtasn1.pdf ; then \
$(MAKE) pdf ; fi
if ! test -e doc/libtasn1.html ; then \
$(MAKE) html ; fi
endif
override_dh_compress:
dh_compress --exclude=libtasn1.pdf
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_auto_clean:
if test -e Makefile ; then \
dh_auto_clean ; fi
%:
dh $@