wok-next annotate httpfs2-fuse/receipt @ rev 20473

Tiny edits...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 16:57:21 2018 +0200 (2018-03-10)
parents fe2894291cf6
children d43bf7aae921
rev   line source
al@20473 1 # SliTaz package receipt v2.
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"
al@20473 7 SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE"
pascal@19229 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19229 9 LICENSE="GPL2"
al@20473 10 WEB_SITE="http://httpfs.sourceforge.net/"
al@20473 11
pascal@19229 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@19229 13 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
pascal@19229 14
pascal@19229 15 BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config"
pascal@19229 16
al@20473 17 compile_rules() {
pascal@19229 18 sed -i "s/^package = .*/package = $SOURCE/" Makefile
pascal@19229 19 sed -i "s/^version = .*/version = $VERSION/" Makefile
pascal@19229 20 sed -i "s/^revision = .*/revision = 1/" Makefile
pascal@19229 21 sed -i "s/a2x -f/echo skip/" Makefile
pascal@19229 22 sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
al@20473 23 make &&
al@20473 24 install -Dm755 $src/httpfs2-ssl-mt $install/usr/bin/httpfs
pascal@19229 25 }
pascal@19229 26
al@20473 27 genpkg_rules() {
al@20473 28 copy @std
al@20473 29 DEPENDS="fuse libgnutls"
al@20473 30 PROVIDE="httpfs-fuse"
al@20473 31 TAGS="filesystem"
pascal@19229 32 }