wok-6.x diff httpfs2-fuse/receipt @ rev 19932
Up lrzip (631)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 27 10:14:20 2017 +0200 (2017-04-27) |
parents | |
children | 40db49e12216 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/httpfs2-fuse/receipt Thu Apr 27 10:14:20 2017 +0200 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="httpfs2-fuse" 1.7 +VERSION="0.1.5" 1.8 +SOURCE="httpfs2" 1.9 +CATEGORY="system-tools" 1.10 +SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="GPL2" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://httpfs.sourceforge.net/" 1.15 +WGET_URL="$SF_MIRROR/httpfs/$TARBALL" 1.16 +PROVIDE="httpfs-fuse" 1.17 +TAGS="filesystem" 1.18 + 1.19 +DEPENDS="fuse libgnutls" 1.20 +BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + sed -i "s/^package = .*/package = $SOURCE/" Makefile 1.26 + sed -i "s/^version = .*/version = $VERSION/" Makefile 1.27 + sed -i "s/^revision = .*/revision = 1/" Makefile 1.28 + sed -i "s/a2x -f/echo skip/" Makefile 1.29 + sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile 1.30 + make 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/bin 1.37 + cp -a $src/httpfs2-ssl-mt $fs/usr/bin/httpfs 1.38 +}