wok-current diff httpfs2-enhanced/receipt @ rev 25724
Up audacity to 3.0.2, fix openssh/wxWidgets build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 25 14:51:14 2024 +0000 (7 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/httpfs2-enhanced/receipt Tue Jun 25 14:51:14 2024 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="httpfs2-enhanced" 1.7 +GITHASH="416cd8d56c75fa470ad8c58791c42212c8cfc0aa" 1.8 +VERSION=${GITHASH:0:7} 1.9 +CATEGORY="system-tools" 1.10 +SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="GPL" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="https://github.com/zohead/$PACKAGE" 1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz" 1.16 +PROVIDE="httpfs-fuse" 1.17 +TAGS="filesystem" 1.18 + 1.19 +DEPENDS="gcc-lib-base fuse2 libgnutls" 1.20 +BUILD_DEPENDS="fuse2-dev gnutls-dev libgnutls pkg-config" 1.21 + 1.22 +# What is the latest version available today? 1.23 +current_version() 1.24 +{ 1.25 + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ 1.26 + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' 1.27 +} 1.28 + 1.29 +# Rules to configure and make the package. 1.30 +compile_rules() 1.31 +{ 1.32 + sed -i "s/^package = .*/package = httpfs2/" Makefile 1.33 + sed -i "s/^version = .*/version = $VERSION/" Makefile 1.34 + sed -i "s/^revision = .*/revision = 1/" Makefile 1.35 + make httpfs2 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p $fs/usr/bin 1.42 + cp -a $src/httpfs2 $fs/usr/bin/ 1.43 +}