void-packages/srcpkgs/xfsprogs/template
Leah Neukirchen c2e1ee3627 xfsprogs: update to 5.11.0.
Closes #29615.
2021-03-30 16:59:02 +02:00

35 lines
1 KiB
Bash

# Template file for 'xfsprogs'
pkgname=xfsprogs
version=5.11.0
revision=1
build_style=gnu-configure
configure_args="--enable-editline=yes --enable-lib64=no"
hostmakedepends="gettext libuuid-devel"
makedepends="libblkid-devel libedit-devel inih-devel"
short_desc="Utilities for managing the XFS filesystem"
maintainer="Enno Boland <gottox@voidlinux.org>"
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=0e9c390fcdbb8a79e1b8f5e6e25fd529fc9f9c2ef8f2d5e647b3556b82d1b353
post_extract() {
sed -i '1i#include <signal.h>' include/linux.h
}
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
}
}