wok-6.x view moosefs/receipt @ rev 23813
syslinux/iso2exe: fix linld.com path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 25 18:40:12 2020 +0000 (2020-05-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 }