wok annotate moosefs/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents bb009a6ef036
children cd7983242740
rev   line source
pascal@11224 1 # SliTaz package receipt.
pascal@11224 2
pascal@11224 3 PACKAGE="moosefs"
pascal@20194 4 VERSION="3.0.100"
pascal@11224 5 CATEGORY="system-tools"
pascal@11224 6 SHORT_DESC="Fault tolerant, network distributed file system."
pascal@11224 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15583 8 LICENSE="GPL3"
pascal@20194 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11224 10 WEB_SITE="http://www.moosefs.org/"
pascal@20194 11 WGET_URL="https://github.com/moosefs/moosefs/archive/v$VERSION.tar.gz"
pascal@11224 12
pascal@11224 13 DEPENDS="python fuse zlib"
pascal@11224 14 BUILD_DEPENDS="python pkg-config fuse-dev zlib-dev"
pascal@11224 15
pascal@11224 16 # Rules to configure and make the package.
pascal@11224 17 compile_rules()
pascal@11224 18 {
pascal@11224 19 sed -i 's/bash/sh/' mfsmount/mfssnapshot
pascal@11224 20 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11224 21 --sysconfdir=/etc \
pascal@11224 22 --localstatedir=/var \
pascal@11224 23 $CONFIGURE_ARGS &&
pascal@11224 24 make &&
pascal@11224 25 make DESTDIR=$DESTDIR install
pascal@11224 26 }
pascal@11224 27
pascal@11224 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11224 29 genpkg_rules()
pascal@11224 30 {
pascal@11224 31 mkdir -p $fs/usr/share
pascal@15583 32 cp -a $install/etc $fs
pascal@15583 33 cp -a $install/var $fs
pascal@15583 34 cp -a $install/usr/share/mfscgi $fs/usr/share
pascal@15583 35 cp -a $install/usr/sbin $fs/usr
pascal@15583 36 cp -a $install/usr/bin $fs/usr
pascal@11224 37 }