void-packages/srcpkgs/xfsdump/template

27 lines
796 B
Bash
Raw Normal View History

2014-09-08 16:44:44 +02:00
# Template file for 'xfsdump'
pkgname=xfsdump
version=3.1.4
2015-05-23 17:13:19 +02:00
revision=2
2014-09-08 16:44:44 +02:00
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
2015-05-23 17:13:19 +02:00
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
}
2014-09-08 16:44:44 +02:00
post_install() {
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
rm -rf ${DESTDIR}/usr/share/doc/
}