wok view moosefs/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents 2a0c2f534fd3
children 72f2704d3ae0
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
41 cp -a $install/etc $fs
42 cp -a $install/var $fs
43 cp -a $install/usr/share/mfscgi $fs/usr/share
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/bin $fs/usr
47 sed -i 's|/usr/bin/env bash|/bin/sh|' \
48 $fs/usr/sbin/mfsmetarestore
49 }