wok-4.x view moosefs/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="moosefs"
4 VERSION="1.6.20-2"
5 SOURCE="mfs"
6 CATEGORY="system-tools"
7 SHORT_DESC="Fault tolerant, network distributed file system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.moosefs.org/"
11 WGET_URL="${WEB_SITE}tl_files/mfscode/$TARBALL"
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 cd $src
20 sed -i 's/bash/sh/' mfsmount/mfssnapshot
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/var $fs
35 cp -a $_pkg/usr/share/mfscgi $fs/usr/share
36 cp -a $_pkg/usr/sbin $fs/usr
37 cp -a $_pkg/usr/bin $fs/usr
38 }