wok view httpfs2-fuse/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents b1356f30c0b8
children f234d4e2fdbd
line source
1 # SliTaz package receipt.
3 PACKAGE="httpfs2-fuse"
4 VERSION="0.1.5"
5 SOURCE="httpfs2"
6 CATEGORY="system-tools"
7 SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://httpfs.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
13 PROVIDE="httpfs-fuse"
14 TAGS="filesystem"
16 DEPENDS="gcc-lib-base fuse2 libgnutls"
17 BUILD_DEPENDS="fuse2-dev gnutls-dev libgnutls pkg-config asciidoc docbook-xml"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/httpfs/files/httpfs2/ 2>/dev/null | \
23 sed '/scope="row/!d;/tar/!d;/\/httpfs/!d;s|.*/httpfs2-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i "s/^package = .*/package = $SOURCE/" Makefile
30 sed -i "s/^version = .*/version = $VERSION/" Makefile
31 sed -i "s/^revision = .*/revision = 1/" Makefile
32 # sed -i "s/a2x -f/echo skip/" Makefile
33 sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
34 make -j 1
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin $install/usr/share/doc $install/usr/share/man
41 cp -a $src/httpfs2*mt $src/httpfs*[2l] $fs/usr/bin/
42 cp $src/*.1 $install/usr/share/man
43 cp $src/*.txt $install/usr/share/doc
44 }