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