| Name |
pciutils |
| Description |
PCI utilities |
| Version |
1:3.10.0-2build1 |
| Package Base |
|
| Homepage |
https://mj.ucw.cz/sw/pciutils/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/pciutils/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/pciutils/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/pciutils/plain/debian/patches/0001-Fix-stripping-in-cross-compiling-mode.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/pciutils/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/pciutils/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['libc6', 'libkmod2', 'libpci3'] |
| Optional-Dependencies |
['bzip2', 'curl', 'lynx', 'wget'] |
| Build-Dependencies |
['debhelper-compat', 'debhelper', 'pci.ids', 'pkgconf | pkg-config', 'libkmod-dev [linux-any]', 'libudev-dev', 'zlib1g-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
f3a2f1237f611258684a4f7789c5b75f4c7f172988feebf990ef593f54bac324 |
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+lfs
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
confflags =
confflags += OPT="$(CFLAGS)"
confflags += SHARED=yes
confflags += HOST=$(DEB_HOST_GNU_CPU)-$(DEB_HOST_GNU_SYSTEM)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
export PKG_CONFIG = $(DEB_HOST_GNU_TYPE)-pkg-config
confflags += CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
endif
ifeq ($(DEB_HOST_ARCH_OS),linux)
confflags += LIBKMOD=yes
confflags += HWDB=yes
endif
confflags += PREFIX=/usr
confflags += LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
confflags += INCDIR=/usr/include/$(DEB_HOST_MULTIARCH)
confflags += SBINDIR=/usr/bin
confflags += IDSDIR=/usr/share/misc
# These two are supposed to override only the update-pciids generator to force
# a non compressed database.
buildflags =
buildflags += PCI_COMPRESSED_IDS=0
buildflags += PCI_IDS=pci.ids
%:
dh $@
override_dh_auto_build:
dh_auto_build -- $(confflags) $(buildflags)
override_dh_auto_install:
dh_auto_install -- $(confflags) install-lib
ifeq (,$(filter noudeb,$(DEB_BUILD_PROFILES)))
# pciutils-udeb
# Reduce by removing subsystem ids and comments.
cat /usr/share/misc/pci.ids | \
perl -ne 'print unless /^(\s*#|\s*$|\t\t)/' | \
gzip -9n >debian/pciutils-udeb/usr/share/misc/pci.ids.gz
endif
override_dh_makeshlibs:
dh_makeshlibs -a -V 'libpci3 (>= 1:3.5.2-1)'
override_dh_installchangelogs:
dh_installchangelogs --no-trim