wok view moosefs/receipt @ rev 20650

retawq: regenerate mo files (Aleksej) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 12 12:33:21 2019 +0100 (2019-01-12)
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 }