Name psmisc
Description utilities that use the proc file system
Version 23.7-1build1
Package Base
Homepage http://psmisc.sf.net/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/psmisc/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/psmisc/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psmisc/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/psmisc/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libtinfo6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dejagnu', 'gettext', 'libncurses-dev', 'libselinux1-dev [linux-any]']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash ae75f0d70fe6a6a9fe614aa2c90324e79866de14120cd7580a578eb3fac2079e
#!/usr/bin/make -f
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)


ifeq ($(DEB_BUILD_ARCH_OS),linux)
CONFIGURE_FLAGS = --enable-selinux
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- ${CONFIGURE_FLAGS}
	# Tell blhc to ignore the signal name extraction
	@echo 'blhc: ignore-line-regexp: .*gcc -E -dM src/signames.c.*'

override_dh_auto_install:
	dh_auto_install
	if [ ! -f "debian/psmisc/usr/bin/fuser" ] ; then \
	  rm -f debian/psmisc/usr/share/man/man1/fuser.1 ; \
	fi
	if [ "$(DEB_HOST_ARCH_OS)" = "kfreebsd" ] ; then \
	  rm -f debian/psmisc/usr/share/man/man1/peekfd.1 ; \
	fi