wok view moosefs/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 7c04901ef470 |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --localstatedir=/var \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/var $fs
44 cp -a $install/usr/share/mfscgi $fs/usr/share
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/bin $fs/usr
48 sed -i 's|/usr/bin/env bash|/bin/sh|' \
49 $fs/usr/sbin/mfsmetarestore
50 }