wok annotate 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
rev   line source
pascal@19229 1 # SliTaz package receipt.
pascal@19229 2
pascal@19229 3 PACKAGE="httpfs2-fuse"
pascal@19229 4 VERSION="0.1.5"
pascal@19229 5 SOURCE="httpfs2"
pascal@19229 6 CATEGORY="system-tools"
pascal@19229 7 SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE."
pascal@19229 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19229 9 LICENSE="GPL2"
pascal@19229 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@19229 11 WEB_SITE="http://httpfs.sourceforge.net/"
pascal@19229 12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
pascal@19229 13 PROVIDE="httpfs-fuse"
pascal@19229 14 TAGS="filesystem"
pascal@19229 15
pascal@23901 16 DEPENDS="gcc-lib-base fuse libgnutls"
pascal@23901 17 BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config asciidoc"
pascal@19229 18
pascal@19229 19 # Rules to configure and make the package.
pascal@19229 20 compile_rules()
pascal@19229 21 {
pascal@19229 22 sed -i "s/^package = .*/package = $SOURCE/" Makefile
pascal@19229 23 sed -i "s/^version = .*/version = $VERSION/" Makefile
pascal@19229 24 sed -i "s/^revision = .*/revision = 1/" Makefile
pascal@19229 25 sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
pascal@23901 26 make -j 1
pascal@19229 27 }
pascal@19229 28
pascal@19229 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19229 30 genpkg_rules()
pascal@19229 31 {
pascal@23901 32 mkdir -p $fs/usr/bin $install/usr/share/man
pascal@23901 33 cp -a $src/httpfs2*mt $src/httpfs*[2l] $fs/usr/bin/
pascal@23901 34 cp $src/*.1 $install/usr/share/man
pascal@19229 35 }