wok view httpfs2-enhanced/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents
children a66f312c374b
line source
1 # SliTaz package receipt.
3 PACKAGE="httpfs2-enhanced"
4 GITHASH="416cd8d56c75fa470ad8c58791c42212c8cfc0aa"
5 VERSION=${GITHASH:0:7}
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 '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;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 }