wok-next view moosefs/receipt @ rev 12753

dosbox: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 13:42:55 2012 +0200 (2012-05-11)
parents
children bb009a6ef036
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 }