# Description: set of utilities used to manage the XFS filesystem # URL: https://github.com/mtanski/xfsprogs # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: inih liburcu name=xfsprogs version=6.17.0 release=1 source=(https://www.kernel.org/pub/linux/utils/fs/xfs/${name}/${name}-${version}.tar.xz) build() { cd ${name}-${version} export CFLAGS="$CFLAGS -DOVERRIDE_SYSTEM_STATX -DSTATX__RESERVED=0x80000000U" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --enable-shared=yes \ --enable-editline=no make NEED_INTERNAL_STATX=yes make DESTDIR=$PKG install }