void-packages/srcpkgs/moosefs/template

30 lines
857 B
Bash

# Template file for 'moosefs'
pkgname=moosefs
version=4.56.6
revision=1
build_style=gnu-configure
configure_args="--localstatedir=/var/lib --with-default-user=_mfs
--with-default-group=_mfs"
hostmakedepends="automake libtool pkg-config"
makedepends="zlib-devel libpcap-devel fuse-devel"
short_desc="Fault tolerant, network distributed file system"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://moosefs.com/"
distfiles="https://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz"
checksum=77cad891e38d33a9cfbaf25640e48a684f1650137cef8a86963673494444f7ed
python_version=3
system_accounts="_mfs"
pre_configure() {
sed -i 's,AC_RUN_IFELSE,AC_LINK_IFELSE,g' configure.ac
autoreconf -fi
}
post_install() {
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
for f in chunkserver master metalogger cgiserv; do
vsv mfs${f}
done
}