wok view moosefs/receipt @ rev 25459
cookutils: rework umount_aufs()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 27 16:54:01 2022 +0000 (2022-09-27) |
parents | f07afdedc98a |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="moosefs"
4 VERSION="3.0.116"
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 --localstatedir=/var \
29 --mandir=/usr/share/man \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
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 }