wok-next view httpfs2-fuse/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents d43bf7aae921
children df20b2110f7e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="httpfs2-fuse"
4 VERSION="0.1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://httpfs.sourceforge.net/"
11 TARBALL="httpfs2-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
14 BUILD_DEPENDS="fuse2-dev gnutls-dev libgnutls"
16 compile_rules() {
17 sed -i "s/^package = .*/package = httpfs2/" Makefile
18 sed -i "s/^version = .*/version = $VERSION/" Makefile
19 sed -i "s/^revision = .*/revision = 1/" Makefile
20 sed -i "s/a2x -f/echo skip/" Makefile
21 sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
22 make &&
23 install -Dm755 $src/httpfs2-ssl-mt $install/usr/bin/httpfs
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="fuse2 libgnutls"
29 PROVIDE="httpfs-fuse"
30 TAGS="filesystem"
31 }