wok annotate moosefs/receipt @ rev 21285
Add thunderbird-bin
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Apr 15 00:22:23 2019 -0400 (2019-04-15) |
parents | 401224c936cc |
children | 8a1cf079af57 |
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 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@11224 | 20 --sysconfdir=/etc \ |
pascal@11224 | 21 --localstatedir=/var \ |
pascal@11224 | 22 $CONFIGURE_ARGS && |
pascal@11224 | 23 make && |
pascal@11224 | 24 make DESTDIR=$DESTDIR install |
pascal@11224 | 25 } |
pascal@11224 | 26 |
pascal@11224 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11224 | 28 genpkg_rules() |
pascal@11224 | 29 { |
pascal@11224 | 30 mkdir -p $fs/usr/share |
pascal@15583 | 31 cp -a $install/etc $fs |
pascal@15583 | 32 cp -a $install/var $fs |
pascal@15583 | 33 cp -a $install/usr/share/mfscgi $fs/usr/share |
pascal@15583 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@15583 | 35 cp -a $install/usr/bin $fs/usr |
pascal@20196 | 36 sed -i 's|/usr/bin/env bash|/bin/sh|' $fs/usr/sbin/mfsmetarestore |
pascal@11224 | 37 } |