wok-current view moosefs/receipt @ rev 20823
updated dfc (3.0.5 -> 3.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 19 15:04:01 2019 +0100 (2019-02-19) |
parents | 401224c936cc |
children | 8a1cf079af57 |
line source
1 # SliTaz package receipt.
3 PACKAGE="moosefs"
4 VERSION="3.0.100"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fault tolerant, network distributed file system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.moosefs.org/"
11 WGET_URL="https://github.com/moosefs/moosefs/archive/v$VERSION.tar.gz"
13 DEPENDS="python fuse zlib"
14 BUILD_DEPENDS="python pkg-config fuse-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr --mandir=/usr/share/man \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/etc $fs
32 cp -a $install/var $fs
33 cp -a $install/usr/share/mfscgi $fs/usr/share
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 sed -i 's|/usr/bin/env bash|/bin/sh|' $fs/usr/sbin/mfsmetarestore
37 }