wok-6.x view moosefs/receipt @ rev 23837

Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:44:24 2020 +0000 (2020-06-01)
parents 8a1cf079af57
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="moosefs"
4 VERSION="3.0.111"
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|' \
42 $fs/usr/sbin/mfsmetarestore
43 }