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

Up dropbear (2020.80)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 01 14:12:33 2020 +0000 (2020-07-01)
parents 8a1cf079af57
children 5ea0ce1cecc0
rev   line source
pascal@11224 1 # SliTaz package receipt.
pascal@11224 2
pascal@11224 3 PACKAGE="moosefs"
Hans-G?nter@23187 4 VERSION="3.0.111"
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"
Hans-G?nter@21469 9 WEB_SITE="https://www.moosefs.com/"
Hans-G?nter@21469 10
pascal@20194 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20194 12 WGET_URL="https://github.com/moosefs/moosefs/archive/v$VERSION.tar.gz"
pascal@11224 13
Hans-G?nter@21469 14 DEPENDS="fuse python zlib"
Hans-G?nter@21469 15 BUILD_DEPENDS="fuse-dev pkg-config python zlib-dev"
pascal@11224 16
pascal@11224 17 # Rules to configure and make the package.
pascal@11224 18 compile_rules()
pascal@11224 19 {
Hans-G?nter@21469 20 ./configure \
Hans-G?nter@21469 21 --prefix=/usr \
Hans-G?nter@21469 22 --mandir=/usr/share/man \
Hans-G?nter@21469 23 --sysconfdir=/etc \
Hans-G?nter@21469 24 --localstatedir=/var \
Hans-G?nter@21469 25 $CONFIGURE_ARGS &&
Hans-G?nter@21469 26 make -j 1 &&
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
Hans-G?nter@21469 34
Hans-G?nter@21469 35 cp -a $install/etc $fs
Hans-G?nter@21469 36 cp -a $install/var $fs
Hans-G?nter@21469 37 cp -a $install/usr/share/mfscgi $fs/usr/share
Hans-G?nter@21469 38 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21469 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21469 40
Hans-G?nter@23187 41 sed -i 's|/usr/bin/env bash|/bin/sh|' \
Hans-G?nter@23187 42 $fs/usr/sbin/mfsmetarestore
pascal@11224 43 }