30 lines
832 B
Bash
30 lines
832 B
Bash
# Template file for 'moosefs'
|
|
pkgname=moosefs
|
|
version=3.0.105
|
|
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="http://moosefs.org/"
|
|
distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz"
|
|
checksum=1a5aceace2aa8094f6f55ef2e6f2a3a2bbb8c5fdbaea872b8b7c42b192a59192
|
|
|
|
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; do
|
|
vsv mfs${f}
|
|
done
|
|
}
|