30 lines
858 B
Bash
30 lines
858 B
Bash
# Template file for 'moosefs'
|
|
pkgname=moosefs
|
|
version=3.0.117
|
|
revision=2
|
|
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=d77947d0d8b699e2373926a1274ae81a9a8b24445c5ab986a1ec5e9203e3c3ba
|
|
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
|
|
}
|