void-packages/srcpkgs/moosefs/template

27 lines
822 B
Bash
Raw Normal View History

2016-07-17 19:25:37 +02:00
# Template file for 'moosefs'
pkgname=moosefs
version=3.0.80
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"
homepage="http://moosefs.org/"
distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz"
checksum=f1a7fea882d44af71f4b09e04df4683cd4ee064e9b0a2ad32116263e60c7b4e7
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
}