wok-6.x view moosefs/receipt @ rev 18965
podofo: set FREETYPE_INCLUDE_DIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 19:10:25 2016 +0100 (2016-03-10) |
parents | 1311ba9fe4bf |
children | 401224c936cc |
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 }