wok-stable view moosefs/receipt @ rev 11909

xcb-util: Revert update it's break all X packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 29 21:52:09 2012 +0100 (2012-02-29)
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 }