wok view httpfs2-fuse/receipt @ rev 23901

httpfs2-fuse: add man
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 31 14:26:28 2020 +0000 (2020-07-31)
parents fe2894291cf6
children a8546de77bcc
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="gcc-lib-base fuse libgnutls"
17 BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config asciidoc"
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/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
26 make -j 1
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $install/usr/share/man
33 cp -a $src/httpfs2*mt $src/httpfs*[2l] $fs/usr/bin/
34 cp $src/*.1 $install/usr/share/man
35 }