diff options
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb')
| -rw-r--r-- | meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb new file mode 100644 index 0000000000..0ac991b238 --- /dev/null +++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | file://0001-Include-fcntl.h-for-O_EXCL.patch \ | ||
| 16 | file://0002-Replace-__uint32_t-with-uint32_t.patch \ | ||
| 17 | file://0003-replace-use-of-SIGCLD-with-SIGCHLD.patch \ | ||
| 18 | file://0004-include-limit.h-for-PATH_MAX.patch \ | ||
| 19 | file://0005-include-sys-types.h-for-u_int32_t-in-attr-attributes.patch \ | ||
| 20 | file://0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch \ | ||
| 21 | " | ||
| 22 | SRC_URI[md5sum] = "c6e91f2ac8b76c796db2d236f5ca5947" | ||
| 23 | SRC_URI[sha256sum] = "99e6d4df257ebc6d29ca9e970ca20672c2ea03481ad949bc68f98de3e4d56dce" | ||
| 24 | |||
| 25 | inherit autotools-brokensep | ||
| 26 | |||
| 27 | PARALLEL_MAKE = "" | ||
| 28 | PACKAGECONFIG ??= "" | ||
| 29 | PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" | ||
| 30 | |||
| 31 | CFLAGS += "-D_FILE_OFFSET_BITS=64" | ||
| 32 | |||
| 33 | EXTRA_OEMAKE += "'LIBTOOL=${HOST_SYS}-libtool' V=1" | ||
| 34 | |||
| 35 | do_configure () { | ||
| 36 | export DEBUG="-DNDEBUG" | ||
| 37 | oe_runconf | ||
| 38 | } | ||
| 39 | |||
| 40 | do_install () { | ||
| 41 | export DIST_ROOT=${D} | ||
| 42 | oe_runmake install | ||
| 43 | oe_runmake install-dev | ||
| 44 | } | ||
