wok-current view httpfs2-fuse/receipt @ rev 22460

updated R (3.1.1 -> 3.6.2)
author Hans-G?nter Theisgen
date Fri Dec 27 14:20:41 2019 +0100 (2019-12-27)
parents
children 40db49e12216
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="http://httpfs.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
13 PROVIDE="httpfs-fuse"
14 TAGS="filesystem"
16 DEPENDS="fuse libgnutls"
17 BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i "s/^package = .*/package = $SOURCE/" Makefile
23 sed -i "s/^version = .*/version = $VERSION/" Makefile
24 sed -i "s/^revision = .*/revision = 1/" Makefile
25 sed -i "s/a2x -f/echo skip/" Makefile
26 sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/httpfs2-ssl-mt $fs/usr/bin/httpfs
35 }