void-packages/srcpkgs/moosefs/template
maxice8 aa22457f8e moosefs: update to 3.0.100.
Closes: #12170 [via git-merge-pr]
2018-03-17 21:20:29 -07:00

26 lines
830 B
Bash

# Template file for 'moosefs'
pkgname=moosefs
version=3.0.100
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"
system_accounts="_mfs"
short_desc="A fault tolerant, network distributed file system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-only"
homepage="http://moosefs.org/"
distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz"
checksum=5c2c8d8fcfc08a705f918f19e2dc968d43a9afa2ab3b356323e9407923846fb9
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; do
vsv mfs${f}
done
}