wok rev 19235

Build httpfs-static
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 26 12:11:14 2016 +0200 (2016-06-26)
parents 8d5c7dc37af2
children e7289f2af0c8
files httpfs-fuse-static/receipt httpfs-fuse/receipt
line diff
     1.1 --- a/httpfs-fuse-static/receipt	Sat Jun 25 13:38:04 2016 +0200
     1.2 +++ b/httpfs-fuse-static/receipt	Sun Jun 26 12:11:14 2016 +0200
     1.3 @@ -8,15 +8,15 @@
     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 +BUILD_DEPENDS="upx"
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr
    1.17  	cp -a $WOK/$WANTED/install/usr/share $fs/usr
    1.18 -	cp -a $src/static_uclibc/fusermount $fs/usr/share/boot
    1.19 +	cp -a $src/static_uclibc/fusermount $fs/usr/share/boot/fusermount-static
    1.20 +	upx -d $fs/usr/share/boot/fusermount-static
    1.21  }
     2.1 --- a/httpfs-fuse/receipt	Sat Jun 25 13:38:04 2016 +0200
     2.2 +++ b/httpfs-fuse/receipt	Sun Jun 26 12:11:14 2016 +0200
     2.3 @@ -20,8 +20,9 @@
     2.4  {
     2.5  	patch -p0 < $stuff/httpfs.u
     2.6  	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot
     2.7 -	. ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin &&
     2.8 -	cp -a static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static
     2.9 +	sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh &&
    2.10 +	cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static &&
    2.11 +	. ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin
    2.12  }
    2.13  
    2.14  # Rules to gen a SliTaz package suitable for Tazpkg.