| Name |
libparted2t64 |
| Description |
disk partition manipulator - shared library |
| Version |
3.6-5 |
| Package Base |
parted |
| Homepage |
https://www.gnu.org/software/parted |
| Maintainers |
['Parted Maintainer Team <parted-maintainers@alioth-lists.debian.net>'] |
| Contributors |
['Bastian Blank <waldi@debian.org>', 'Colin Watson <cjwatson@debian.org>,'] |
| Distro-repo |
https://salsa.debian.org/parted-team/parted |
| Sources |
['https://sources.debian.org/data/main/p/parted/3.6-5/debian/watch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/align-new-partitions-on-fresh-disks.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/doc-package.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/freebsd-geli.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/freebsd-ufs.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/freebsd-zvol.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/gcc-15.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/gptsync.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/kfreebsd-gnu.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/kfreebsd_lvm.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/link-libuuid.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/preserve-hidden-parts.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/probe-lvs-again.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/series', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/udevadm-settle.patch', 'https://sources.debian.org/src/parted/3.6-5/debian/patches/zfs.patch'] |
| Dependencies |
['dmidecode', 'libblkid1', 'libc6', 'libdevmapper1.02.1', 'libuuid1'] |
| Optional-Dependencies |
['libparted-dev', 'libparted-i18n', 'parted'] |
| Build-Dependencies |
['autoconf', 'automake', 'autopoint', 'check <!nocheck>', 'debhelper-compat', 'dpkg-dev', 'gettext', 'gperf', 'libblkid-dev', 'libdevmapper-dev [linux-any]', 'libncurses-dev | libncurses5-dev', 'libreadline-dev | libreadline6-dev', 'pkgconf', 'texinfo', 'uuid-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
65bc42f046f51f01152da1c6b48f7b65d2e84bc0b04c0da29c33bded87217a36 |
#!/usr/bin/make -f
#
# Copyright (C) 1999, 2000, 2001, 2002 Timshel Knoll
# Licensed under the terms of the GNU General Public License
#
# Based (a long time ago) on parted's debian/rules, which in turn is based on
# `Sample debian/rules that uses debhelper' from dh_make,
# GNU Copyright (C) 1997 to 1999 by Joey Hess
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
CONFFLAGS := --sbindir=/usr/sbin --enable-mtrace --enable-shared
CONFFLAGS += --disable-gcc-warnings
# Enable device-mapper only on Linux
ifeq (linux, $(DEB_HOST_ARCH_OS))
CONFFLAGS += --enable-device-mapper
else
CONFFLAGS += --disable-device-mapper
endif
# Everything above here is common to the deb and udeb builds.
CONFFLAGS_UDEB := $(CONFFLAGS)
# Options specific to the udeb build.
CONFFLAGS_UDEB += ac_cv_header_execinfo_h=no --libdir=/usr/lib
CONFFLAGS_UDEB += --disable-static --without-readline
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -Bbuild-deb -- $(CONFFLAGS)
# We need to unset CFLAGS here to force debhelper to recompute it
# with the new DEB_CFLAGS_MAINT_APPEND. We also need to unset
# DH_INTERNAL_BUILDFLAGS to force debhelper to recompute any build
# flags at all. If there's a better way to do this I'd like to hear
# about it.
env -u DH_INTERNAL_BUILDFLAGS -u CFLAGS DEB_CFLAGS_MAINT_APPEND=-Os \
dh_auto_configure -Bbuild-udeb -- $(CONFFLAGS_UDEB)
override_dh_auto_build:
dh_auto_build -Bbuild-deb
# Only build binaries for the udeb pass.
$(MAKE) -C build-udeb/lib
$(MAKE) -C build-udeb/libparted
$(MAKE) -C build-udeb/parted
override_dh_auto_test:
override_dh_auto_clean:
rm -rf build-deb build-udeb
execute_before_dh_clean:
rm -rf debian/tmp-udeb
override_dh_auto_install:
dh_auto_install -Bbuild-deb
$(MAKE) -C build-udeb/libparted install DESTDIR=$(CURDIR)/debian/tmp-udeb
$(MAKE) -C build-udeb/parted install DESTDIR=$(CURDIR)/debian/tmp-udeb
rm -f debian/tmp/usr/lib/*/*.la
rm -f debian/tmp-udeb/usr/lib/*.la debian/tmp-udeb/usr/lib/*.so
override_dh_install:
dh_install -Nparted-udeb -Nlibparted2-udeb -Nlibparted-fs-resize0-udeb
dh_install -pparted-udeb -plibparted2-udeb -plibparted-fs-resize0-udeb --sourcedir=debian/tmp-udeb
override_dh_installdocs-arch:
dh_installdocs --link-doc=libparted2t64
override_dh_installdocs-indep:
dh_installdocs -pparted-doc --doc-main-package=libparted2t64
dh_installdocs --remaining-packages
override_dh_makeshlibs:
dh_makeshlibs -plibparted2t64 --add-udeb=libparted2-udeb -- -c4
dh_makeshlibs -plibparted-fs-resize0t64 --add-udeb=libparted-fs-resize0-udeb -- -c4