wok view moosefs/receipt @ rev 22167

corrected activeresource
author Hans-G?nter Theisgen
date Fri Nov 08 09:03:27 2019 +0100 (2019-11-08)
parents cd7983242740
children 2a0c2f534fd3
line source
1 # SliTaz package receipt.
3 PACKAGE="moosefs"
4 VERSION="3.0.104"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fault tolerant, network distributed file system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.moosefs.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/moosefs/moosefs/archive/v$VERSION.tar.gz"
14 DEPENDS="fuse python zlib"
15 BUILD_DEPENDS="fuse-dev pkg-config python zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
35 cp -a $install/etc $fs
36 cp -a $install/var $fs
37 cp -a $install/usr/share/mfscgi $fs/usr/share
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/bin $fs/usr
41 sed -i 's|/usr/bin/env bash|/bin/sh|' $fs/usr/sbin/mfsmetarestore
42 }