wok-current annotate moosefs/receipt @ rev 23101

updated libshout and libshout-dev (2.4.1 -> 2.4.3)
author Hans-G?nter Theisgen
date Thu Mar 12 09:17:16 2020 +0100 (2020-03-12)
parents cd7983242740
children 2a0c2f534fd3
rev   line source
pascal@11224 1 # SliTaz package receipt.
pascal@11224 2
pascal@11224 3 PACKAGE="moosefs"
Hans-G?nter@21469 4 VERSION="3.0.104"
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
pascal@20196 41 sed -i 's|/usr/bin/env bash|/bin/sh|' $fs/usr/sbin/mfsmetarestore
pascal@11224 42 }