wok annotate httpfs2-enhanced/receipt @ rev 25674

tiptop: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 28 11:10:12 2024 +0000 (3 months ago)
parents 0748d49b3e26
children
rev   line source
pascal@25433 1 # SliTaz package receipt.
pascal@25433 2
pascal@25433 3 PACKAGE="httpfs2-enhanced"
pascal@25433 4 GITHASH="416cd8d56c75fa470ad8c58791c42212c8cfc0aa"
pascal@25674 5 VERSION="20171111"
pascal@25433 6 CATEGORY="system-tools"
pascal@25433 7 SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE."
pascal@25433 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@25433 9 LICENSE="GPL"
pascal@25433 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25433 11 WEB_SITE="https://github.com/zohead/$PACKAGE"
pascal@25433 12 WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz"
pascal@25433 13 PROVIDE="httpfs-fuse"
pascal@25433 14 TAGS="filesystem"
pascal@25433 15
pascal@25433 16 DEPENDS="gcc-lib-base fuse2 libgnutls"
pascal@25433 17 BUILD_DEPENDS="fuse2-dev gnutls-dev libgnutls pkg-config"
pascal@25433 18
pascal@25433 19 # What is the latest version available today?
pascal@25433 20 current_version()
pascal@25433 21 {
pascal@25433 22 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@25674 23 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
pascal@25433 24 }
pascal@25433 25
pascal@25433 26 # Rules to configure and make the package.
pascal@25433 27 compile_rules()
pascal@25433 28 {
pascal@25433 29 sed -i "s/^package = .*/package = httpfs2/" Makefile
pascal@25433 30 sed -i "s/^version = .*/version = $VERSION/" Makefile
pascal@25433 31 sed -i "s/^revision = .*/revision = 1/" Makefile
pascal@25433 32 make httpfs2
pascal@25433 33 }
pascal@25433 34
pascal@25433 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@25433 36 genpkg_rules()
pascal@25433 37 {
pascal@25433 38 mkdir -p $fs/usr/bin
pascal@25433 39 cp -a $src/httpfs2 $fs/usr/bin/
pascal@25433 40 }