Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 1 | SUMMARY = "XFS Filesystem Dump Utility" |
| 2 | DESCRIPTION = "The xfsdump package contains xfsdump, xfsrestore and a \ |
| 3 | number of other utilities for administering XFS filesystems.\ |
| 4 | xfsdump examines files in a filesystem, determines which \ |
| 5 | need to be backed up, and copies those files to a \ |
| 6 | specified disk, tape or other storage medium." |
| 7 | HOMEPAGE = "http://oss.sgi.com/projects/xfs" |
| 8 | SECTION = "base" |
| 9 | LICENSE = "GPLv2" |
| 10 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=15c832894d10ddd00dfcf57bee490ecc" |
| 11 | DEPENDS = "xfsprogs attr" |
| 12 | |
| 13 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/${BP}.tar.xz \ |
| 14 | file://remove-install-as-user.patch \ |
| 15 | ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-xfsdump-support-usrmerge.patch','',d)} \ |
| 16 | " |
| 17 | SRC_URI[sha256sum] = "9aab7a53aa05cd46edc97269ebf1456aab2b60ab8c1fffaaf8aa492f0b5f6517" |
| 18 | |
| 19 | inherit autotools-brokensep |
| 20 | |
| 21 | PARALLEL_MAKE = "" |
| 22 | PACKAGECONFIG ??= "" |
| 23 | PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" |
| 24 | |
| 25 | CFLAGS += "-D_FILE_OFFSET_BITS=64" |
| 26 | |
| 27 | do_configure () { |
| 28 | export DEBUG="-DNDEBUG" |
| 29 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} |
| 30 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} |
| 31 | oe_runconf |
| 32 | } |
| 33 | |
| 34 | do_install () { |
| 35 | export DIST_ROOT=${D} |
| 36 | oe_runmake install |
| 37 | oe_runmake install-dev |
| 38 | } |