wok-next diff 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 |
line diff
1.1 --- a/httpfs2-fuse/receipt Fri Jun 24 16:28:42 2016 +0200 1.2 +++ b/httpfs2-fuse/receipt Sat Mar 10 16:57:21 2018 +0200 1.3 @@ -1,35 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="httpfs2-fuse" 1.8 VERSION="0.1.5" 1.9 SOURCE="httpfs2" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE." 1.12 +SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://httpfs.sourceforge.net/" 1.16 + 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://httpfs.sourceforge.net/" 1.19 WGET_URL="$SF_MIRROR/httpfs/$TARBALL" 1.20 -PROVIDE="httpfs-fuse" 1.21 -TAGS="filesystem" 1.22 1.23 -DEPENDS="fuse libgnutls" 1.24 BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 sed -i "s/^package = .*/package = $SOURCE/" Makefile 1.31 sed -i "s/^version = .*/version = $VERSION/" Makefile 1.32 sed -i "s/^revision = .*/revision = 1/" Makefile 1.33 sed -i "s/a2x -f/echo skip/" Makefile 1.34 sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile 1.35 - make 1.36 + make && 1.37 + install -Dm755 $src/httpfs2-ssl-mt $install/usr/bin/httpfs 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/bin 1.44 - cp -a $src/httpfs2-ssl-mt $fs/usr/bin/httpfs 1.45 +genpkg_rules() { 1.46 + copy @std 1.47 + DEPENDS="fuse libgnutls" 1.48 + PROVIDE="httpfs-fuse" 1.49 + TAGS="filesystem" 1.50 }