# Template file for 'xfsprogs' pkgname=xfsprogs version=6.14.0 revision=1 build_style=gnu-configure configure_args="--enable-editline=yes --enable-lib64=no --libdir=/usr/lib --enable-lto" hostmakedepends="gettext pkg-config" makedepends="libblkid-devel libedit-devel inih-devel liburcu-devel libuuid-devel" short_desc="Utilities for managing the XFS filesystem" maintainer="Enno Boland " license="LGPL-2.1-or-later" homepage="http://xfs.org/index.php/Main_Page" distfiles="${KERNEL_SITE}/utils/fs/xfs/xfsprogs/xfsprogs-${version}.tar.xz" checksum=fa5ab77f8b5169ce48dd8de09446ad7e29834a05b8f52012bae411cf53ec1f58 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" liburcu-devel" fi if [ "$XBPS_TARGET_LIBC" = "musl" ]; then # glibc includes linux/statx.h, musl doesn't musls # definition is not new enough so work around the broken # configure check and force use of the internal statx # struct definition. configure_args+=" ac_cv_type_struct_statx=no" fi do_install() { make install install-dev DIST_ROOT=${DESTDIR} \ PKG_ROOT_SBIN_DIR=/usr/bin PKG_ROOT_LIB_DIR=/usr/lib rm -rf ${DESTDIR}/usr/share/doc } xfsprogs-devel_package() { depends="libuuid-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/*.so" vmove usr/share/man/man3 } }