wok-current view moosefs/receipt @ rev 23237
updated nginx and nginx-extras (1.9.4 -> 1.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 08:10:44 2020 +0100 (2020-03-25) |
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 }