void-packages/srcpkgs/xfsdump/template
2015-05-23 17:13:19 +02:00

27 lines
796 B
Bash

# Template file for 'xfsdump'
pkgname=xfsdump
version=3.1.4
revision=2
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
makedepends="libuuid-devel ncurses-devel xfsprogs-devel attr-devel"
short_desc="XFS filesystem incremental dump/restore utility"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL-2.1"
homepage="http://oss.sgi.com/projects/xfs/"
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-${version}.tar.gz"
checksum=570eafd0721515bdd79cb0e295b701d49cdf81e71a0a0ff0df6d4c5cc1960943
post_extract() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i -e 's/SIGCLD/SIGCHLD/g' \
-e 's/RLIM64_INFINITY/RLIM_INFINITY/g' \
common/main.c
esac
}
post_install() {
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
rm -rf ${DESTDIR}/usr/share/doc/
}