Name argon2
Description memory-hard hashing function - utility
Version 0~20190702+dfsg-4build1
Package Base
Homepage https://github.com/P-H-C/phc-winner-argon2
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Sven Geuer <debmaint@g-e-u-e-r.de>']
Distro-repo https://git.launchpad.net/ubuntu/+source/argon2/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/argon2/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/argon2/plain/debian/patches/hurd.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/argon2/plain/debian/patches/kfreebsd.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/argon2/plain/debian/patches/ldflags.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/argon2/plain/debian/patches/relative-paths.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/argon2/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/argon2/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-exec']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 0d1b650d437264facbc67f972e189fbbd3cde3f84b8b9fbcbd564e7776cd0d6a
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

# Upstream does not honor CPPFLAGS, hence we add it to CFLAGS here.
export CFLAGS+=$(CPPFLAGS)
# Optimized source code is only available for the x86_64 architecture.
export OPTTARGET=$(if $(findstring $(DEB_HOST_GNU_CPU),x86_64),x86-64,none)
export PKG=libargon2
export SONAME=$(PKG).so.$(SOVER)
export SOPKG=$(PKG)-$(SOVER)
export SOVER=1
export DEBPREFIX=0~
export DEBSUFFIX=+dfsg
export ARGON2_VERSION=$(subst $(DEBSUFFIX),,$(subst $(DEBPREFIX),,$(DEB_VERSION_UPSTREAM)))

%:
	dh $@

override_dh_auto_test:
	-$(MAKE) -j1 test

override_dh_auto_install:

override_dh_makeshlibs:
	dh_makeshlibs -V --add-udeb="libargon2-1-udeb"