summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb')
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb
new file mode 100644
index 000000000..9959f0d85
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb
@@ -0,0 +1,56 @@
1SUMMARY = "XFS Filesystem Utilities"
2HOMEPAGE = "http://oss.sgi.com/projects/xfs"
3SECTION = "base"
4LICENSE = "GPLv2 & LGPLv2.1"
5LICENSE_libhandle = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a"
7DEPENDS = "util-linux util-linux-native"
8SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \
9 file://link_needed_libs.patch \
10"
11SRC_URI[md5sum] = "4f047bc9a28b48a95c6db0ad5ce4dbcb"
12SRC_URI[sha256sum] = "82ce9cb3a55f4e208e8fe3471ff0aff0602b8300f3e50bdf05cc7e11549686f9"
13
14inherit autotools-brokensep
15
16PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle"
17
18
19RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair"
20
21FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs"
22FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs"
23FILES_${PN}-repair = "${base_sbindir}/xfs_repair"
24
25FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}"
26
27EXTRA_OECONF = "--enable-gettext=no \
28 INSTALL_USER=root \
29 INSTALL_GROUP=root \
30 ac_cv_header_aio_h=yes \
31 ac_cv_lib_rt_lio_listio=yes \
32"
33
34EXTRA_AUTORECONF += "-I ${S}/m4 --exclude=autoheader"
35
36PACKAGECONFIG ??= "readline blkid"
37
38PACKAGECONFIG[readline] = "--enable-readline=yes,--enable-readline=no,readline"
39PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux"
40
41export DEBUG="-DNDEBUG"
42
43EXTRA_OEMAKE = "DIST_ROOT='${D}'"
44
45do_configure_prepend () {
46 export BUILD_CC="${BUILD_CC} ${BUILD_CFLAGS}"
47 # Prevent Makefile from calling configure without arguments,
48 # when do_configure gets called for a second time.
49 rm -f ${B}/include/builddefs ${B}/include/platform_defs.h ${B}/configure
50 # Recreate configure script.
51 oe_runmake configure
52}
53
54do_install_append() {
55 oe_runmake 'DESTDIR=${D}' install install-dev
56}