wok view littlefs-fuse/receipt @ rev 24305
created recipe for ctypes.sh
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 17 15:56:03 2022 +0100 (2022-01-17) |
parents | 5ea0ce1cecc0 |
children | 72f2704d3ae0 |
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="fuse"
15 BUILD_DEPENDS="fuse-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 }