wok-current view littlefs-fuse/receipt @ rev 24992
Up sip (4.19.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 14 18:19:29 2022 +0000 (2022-05-14) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="littlefs-fuse"
4 VERSION="2.0.0"
5 CATEGORY="base-system"
6 SHORT_DESC="A FUSE wrapper that puts the littlefs in user-space."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/ARMmbed/littlefs-fuse"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="fuse2"
15 BUILD_DEPENDS="fuse2-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 mkdir -p $install/usr/share/doc
35 cp $src/lfs $fs/usr/bin
36 cp $src/README.md $install/usr/share/doc
37 cp $src/littlefs/DESIGN.md $install/usr/share/doc
38 cp $src/littlefs/SPEC.md $install/usr/share/doc
39 }