wok-current rev 19229

Add httpfs2-fuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 24 16:28:42 2016 +0200 (2016-06-24)
parents 09451c6d2e5b
children 15b2a2fdf54f
files httpfs-fuse-static/receipt httpfs2-fuse/receipt
line diff
     1.1 --- a/httpfs-fuse-static/receipt	Fri Jun 24 10:45:02 2016 +0200
     1.2 +++ b/httpfs-fuse-static/receipt	Fri Jun 24 16:28:42 2016 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  LICENSE="GPL"
     1.5  WEB_SITE="http://httpfs.sourceforge.net/"
     1.6  WANTED="httpfs-fuse"
     1.7 +PROVIDE="httpfs-fuse"
     1.8  TAGS="filesystem"
     1.9  
    1.10  DEPENDS="fuse"
    1.11 @@ -16,6 +17,5 @@
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr
    1.15 -	cp -a $WOK/$WANTED/install/usr/share \
    1.16 -                 $fs/usr
    1.17 +	cp -a $WOK/$WANTED/install/usr/share $fs/usr
    1.18  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/httpfs2-fuse/receipt	Fri Jun 24 16:28:42 2016 +0200
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="httpfs2-fuse"
     2.7 +VERSION="0.1.5"
     2.8 +SOURCE="httpfs2"
     2.9 +CATEGORY="system-tools"
    2.10 +SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE."
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +LICENSE="GPL2"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://httpfs.sourceforge.net/"
    2.15 +WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
    2.16 +PROVIDE="httpfs-fuse"
    2.17 +TAGS="filesystem"
    2.18 +
    2.19 +DEPENDS="fuse libgnutls"
    2.20 +BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config"
    2.21 +
    2.22 +# Rules to configure and make the package.
    2.23 +compile_rules()
    2.24 +{
    2.25 +	sed -i "s/^package = .*/package = $SOURCE/" Makefile
    2.26 +	sed -i "s/^version = .*/version = $VERSION/" Makefile
    2.27 +	sed -i "s/^revision = .*/revision = 1/" Makefile
    2.28 +	sed -i "s/a2x -f/echo skip/" Makefile
    2.29 +	sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
    2.30 +	make
    2.31 +}
    2.32 +
    2.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 +genpkg_rules()
    2.35 +{
    2.36 +	mkdir -p $fs/usr/bin
    2.37 +	cp -a $src/httpfs2-ssl-mt $fs/usr/bin/httpfs
    2.38 +}