wok annotate mountlo/receipt @ rev 25334
updated sunxi-tools (1.1-80 -> 1.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 17:16:06 2022 +0100 (2022-07-23) |
parents | 8dd8bab3f0ca |
children |
rev | line source |
---|---|
pascal@5237 | 1 # SliTaz package receipt. |
pascal@5237 | 2 |
pascal@5237 | 3 PACKAGE="mountlo" |
pascal@5237 | 4 VERSION="0.6" |
pascal@5237 | 5 CATEGORY="system-tools" |
pascal@5237 | 6 SHORT_DESC="loopback filesystem mount implemented with FUSE." |
pascal@5237 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@5237 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14337 | 10 EXTRA_SOURCE_FILES="$PACKAGE-i386-$VERSION.tar.gz" |
pascal@20672 | 11 WEB_SITE="https://github.com/libfuse" |
pascal@25113 | 12 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
pascal@5237 | 13 TAGS="filesystem" |
pascal@5237 | 14 |
pascal@5237 | 15 # Rules to configure and make the package. |
pascal@5237 | 16 compile_rules() |
pascal@5237 | 17 { |
pascal@5237 | 18 cd $src |
pascal@5553 | 19 [ -f $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz ] || |
pascal@5553 | 20 wget $SF_MIRROR/fuse/$PACKAGE/$VERSION/$PACKAGE-i386-$VERSION.tar.gz \ |
pascal@5553 | 21 -P $SOURCES_REPOSITORY |
pascal@5237 | 22 if [ ! -f mountlo-$VERSION/mountlo ]; then |
pascal@5553 | 23 tar xzf $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz |
pascal@5237 | 24 fi |
pascal@5237 | 25 } |
pascal@5237 | 26 |
pascal@5237 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5237 | 28 genpkg_rules() |
pascal@5237 | 29 { |
pascal@5237 | 30 mkdir -p $fs/usr/bin |
pascal@5237 | 31 cp -a $src/mountlo-$VERSION/mountlo $fs/usr/bin |
pascal@5238 | 32 chown root.root $fs/usr/bin/mountlo |
pascal@5237 | 33 } |