diff options
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.bb | 56 |
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 @@ | |||
1 | SUMMARY = "XFS Filesystem Utilities" | ||
2 | HOMEPAGE = "http://oss.sgi.com/projects/xfs" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "GPLv2 & LGPLv2.1" | ||
5 | LICENSE_libhandle = "LGPLv2.1" | ||
6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a" | ||
7 | DEPENDS = "util-linux util-linux-native" | ||
8 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ | ||
9 | file://link_needed_libs.patch \ | ||
10 | " | ||
11 | SRC_URI[md5sum] = "4f047bc9a28b48a95c6db0ad5ce4dbcb" | ||
12 | SRC_URI[sha256sum] = "82ce9cb3a55f4e208e8fe3471ff0aff0602b8300f3e50bdf05cc7e11549686f9" | ||
13 | |||
14 | inherit autotools-brokensep | ||
15 | |||
16 | PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle" | ||
17 | |||
18 | |||
19 | RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair" | ||
20 | |||
21 | FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs" | ||
22 | FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs" | ||
23 | FILES_${PN}-repair = "${base_sbindir}/xfs_repair" | ||
24 | |||
25 | FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}" | ||
26 | |||
27 | EXTRA_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 | |||
34 | EXTRA_AUTORECONF += "-I ${S}/m4 --exclude=autoheader" | ||
35 | |||
36 | PACKAGECONFIG ??= "readline blkid" | ||
37 | |||
38 | PACKAGECONFIG[readline] = "--enable-readline=yes,--enable-readline=no,readline" | ||
39 | PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux" | ||
40 | |||
41 | export DEBUG="-DNDEBUG" | ||
42 | |||
43 | EXTRA_OEMAKE = "DIST_ROOT='${D}'" | ||
44 | |||
45 | do_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 | |||
54 | do_install_append() { | ||
55 | oe_runmake 'DESTDIR=${D}' install install-dev | ||
56 | } | ||