wok view httpfs2-enhanced/receipt @ rev 25674

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