wok-next view moosefs/receipt @ rev 15862
audacious: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:09:15 2014 +0000 (2014-01-30) |
parents | 1311ba9fe4bf |
children | d43bf7aae921 |
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 LICENSE="GPL3"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.moosefs.org/"
12 WGET_URL="${WEB_SITE}tl_files/mfscode/$TARBALL"
14 DEPENDS="python fuse zlib"
15 BUILD_DEPENDS="python pkg-config fuse-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/bash/sh/' mfsmount/mfssnapshot
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/var $fs
36 cp -a $install/usr/share/mfscgi $fs/usr/share
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }