wok-6.x annotate moosefs/receipt @ rev 19761

Up: libpng+apng (1.6.28)
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 19 09:21:30 2017 +0000 (2017-02-19)
parents 1311ba9fe4bf
children 401224c936cc
rev   line source
pascal@11224 1 # SliTaz package receipt.
pascal@11224 2
pascal@11224 3 PACKAGE="moosefs"
pascal@11224 4 VERSION="1.6.20-2"
pascal@11224 5 SOURCE="mfs"
pascal@11224 6 CATEGORY="system-tools"
pascal@11224 7 SHORT_DESC="Fault tolerant, network distributed file system."
pascal@11224 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15583 9 LICENSE="GPL3"
pascal@11224 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11224 11 WEB_SITE="http://www.moosefs.org/"
pascal@11224 12 WGET_URL="${WEB_SITE}tl_files/mfscode/$TARBALL"
pascal@11224 13
pascal@11224 14 DEPENDS="python fuse zlib"
pascal@11224 15 BUILD_DEPENDS="python pkg-config fuse-dev zlib-dev"
pascal@11224 16
pascal@11224 17 # Rules to configure and make the package.
pascal@11224 18 compile_rules()
pascal@11224 19 {
pascal@11224 20 cd $src
pascal@11224 21 sed -i 's/bash/sh/' mfsmount/mfssnapshot
pascal@11224 22 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11224 23 --sysconfdir=/etc \
pascal@11224 24 --localstatedir=/var \
pascal@11224 25 $CONFIGURE_ARGS &&
pascal@11224 26 make &&
pascal@11224 27 make DESTDIR=$DESTDIR install
pascal@11224 28 }
pascal@11224 29
pascal@11224 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11224 31 genpkg_rules()
pascal@11224 32 {
pascal@11224 33 mkdir -p $fs/usr/share
pascal@15583 34 cp -a $install/etc $fs
pascal@15583 35 cp -a $install/var $fs
pascal@15583 36 cp -a $install/usr/share/mfscgi $fs/usr/share
pascal@15583 37 cp -a $install/usr/sbin $fs/usr
pascal@15583 38 cp -a $install/usr/bin $fs/usr
pascal@11224 39 }