wok view fuse-rofs/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 89c8d8b6cf48
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fuse-rofs"
4 HASH="ce809a5df82da363a80742e3969eace2f349fa29"
5 VERSION="${HASH:0:7}"
6 CATEGORY="system-tools"
7 SHORT_DESC="The Read-Only File System for FUSE."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/cognusion/fuse-rofs"
12 WGET_URL="$WEB_SITE/archive/$HASH.tar.gz"
14 DEPENDS="fuse2"
15 BUILD_DEPENDS="wget fuse2-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 gcc -o rofs -Wall -ansi -W -std=c99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -lfuse rofs.c
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/sbin
34 cp $src/rofs $fs/usr/sbin/mount.rofs
35 }