diff options
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb')
| -rw-r--r-- | meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb new file mode 100644 index 0000000000..33847a86d7 --- /dev/null +++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.18.0.bb | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | SUMMARY = "XFS Filesystem Utilities" | ||
| 2 | HOMEPAGE = "http://oss.sgi.com/projects/xfs" | ||
| 3 | SECTION = "base" | ||
| 4 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" | ||
| 5 | LICENSE:libhandle = "LGPL-2.1-only" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \ | ||
| 7 | file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" | ||
| 8 | |||
| 9 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ | ||
| 10 | file://remove_flags_from_build_flags.patch \ | ||
| 11 | file://0001-include-include-xfs-linux.h-after-sys-mman.h.patch \ | ||
| 12 | file://0002-configure-Use-AC_SYS_LARGERFILE-autoconf-macro.patch \ | ||
| 13 | file://0003-doc-man-support-reproducible-builds.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "3a6dc7b1245ce9bccd197bab00691f1b190bd3694d3ccc301d21b83afc133199" | ||
| 17 | |||
| 18 | inherit autotools-brokensep pkgconfig | ||
| 19 | |||
| 20 | DEPENDS = "util-linux util-linux-native libinih liburcu" | ||
| 21 | |||
| 22 | PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle" | ||
| 23 | |||
| 24 | RDEPENDS:${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair python3-core bash" | ||
| 25 | |||
| 26 | FILES:${PN}-fsck = "${sbindir}/fsck.xfs" | ||
| 27 | FILES:${PN}-mkfs = "${sbindir}/mkfs.xfs" | ||
| 28 | FILES:${PN}-repair = "${sbindir}/xfs_repair" | ||
| 29 | |||
| 30 | FILES:libhandle = "${libdir}/libhandle${SOLIBS}" | ||
| 31 | |||
| 32 | EXTRA_OECONF = "--enable-gettext=no \ | ||
| 33 | --enable-scrub=no \ | ||
| 34 | INSTALL_USER=root \ | ||
| 35 | INSTALL_GROUP=root \ | ||
| 36 | ac_cv_header_aio_h=yes \ | ||
| 37 | ac_cv_lib_rt_lio_listio=yes \ | ||
| 38 | OPTIMIZER='${SELECTED_OPTIMIZATION}' \ | ||
| 39 | " | ||
| 40 | |||
| 41 | DISABLE_STATIC = "" | ||
| 42 | EXTRA_AUTORECONF += "-I ${S}/m4 --exclude=autoheader" | ||
| 43 | |||
| 44 | export DEBUG = "-DNDEBUG" | ||
| 45 | export BUILD_VERBOSE = "1" | ||
| 46 | export tagname = "CC" | ||
| 47 | |||
| 48 | EXTRA_OEMAKE = "DIST_ROOT='${D}'" | ||
| 49 | |||
| 50 | do_configure() { | ||
| 51 | export BUILD_CC="${BUILD_CC} ${BUILD_CFLAGS}" | ||
| 52 | # Prevent Makefile from calling configure without arguments, | ||
| 53 | # when do_configure gets called for a second time. | ||
| 54 | rm -f ${B}/include/builddefs ${B}/configure | ||
| 55 | # Recreate configure script. | ||
| 56 | oe_runmake configure | ||
| 57 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | ||
| 58 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} | ||
| 59 | oe_runconf | ||
| 60 | } | ||
| 61 | |||
| 62 | do_install:append() { | ||
| 63 | oe_runmake 'DESTDIR=${D}' install-dev | ||
| 64 | } | ||
