wok-current annotate littlefs-fuse/receipt @ rev 24225
updated perl-io-socket-ssl (2.068 -> 2.073)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:41:39 2021 +0100 (2021-12-31) |
parents | c4edaf6370ab |
children | ac8ca9758df1 |
rev | line source |
---|---|
pascal@20404 | 1 # SliTaz package receipt. |
pascal@20404 | 2 |
pascal@20404 | 3 PACKAGE="littlefs-fuse" |
Hans-G?nter@23137 | 4 VERSION="2.0.0" |
pascal@20404 | 5 CATEGORY="base-system" |
Hans-G?nter@23137 | 6 SHORT_DESC="A FUSE wrapper that puts the littlefs in user-space." |
pascal@20404 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20404 | 8 LICENSE="MIT" |
Hans-G?nter@23137 | 9 WEB_SITE="https://github.com/ARMmbed/littlefs-fuse" |
Hans-G?nter@23137 | 10 |
pascal@20404 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20404 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@20404 | 13 |
pascal@20405 | 14 DEPENDS="fuse" |
pascal@20404 | 15 BUILD_DEPENDS="fuse-dev" |
pascal@20404 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@20404 | 23 # Rules to configure and make the package. |
pascal@20404 | 24 compile_rules() |
pascal@20404 | 25 { |
pascal@20405 | 26 make |
pascal@20404 | 27 } |
pascal@20404 | 28 |
pascal@20404 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20404 | 30 genpkg_rules() |
pascal@20404 | 31 { |
Hans-G?nter@23137 | 32 mkdir -p $fs/usr/bin |
Hans-G?nter@23137 | 33 mkdir -p $install/usr/share/doc |
Hans-G?nter@23137 | 34 |
Hans-G?nter@23137 | 35 cp $src/lfs $fs/usr/bin |
Hans-G?nter@23137 | 36 cp $src/README.md $install/usr/share/doc |
Hans-G?nter@23137 | 37 cp $src/littlefs/DESIGN.md $install/usr/share/doc |
Hans-G?nter@23137 | 38 cp $src/littlefs/SPEC.md $install/usr/share/doc |
pascal@20404 | 39 } |