wok-current rev 19237

Do not (re)build httpfs-static (10x bigger)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 26 13:17:25 2016 +0200 (2016-06-26)
parents e7289f2af0c8
children 55f255b764b0
files httpfs-fuse/receipt
line diff
     1.1 --- a/httpfs-fuse/receipt	Sun Jun 26 12:55:29 2016 +0200
     1.2 +++ b/httpfs-fuse/receipt	Sun Jun 26 13:17:25 2016 +0200
     1.3 @@ -20,11 +20,18 @@
     1.4  {
     1.5  	patch -p0 < $stuff/httpfs.u
     1.6  	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot
     1.7 -	sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh &&
     1.8 -	cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static &&
     1.9 +	# keep uclibc prebuilt. Glibc version is 10x bigger !
    1.10 +	if true; then
    1.11 +		cp -a static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static
    1.12 +		upx -d $DESTDIR/usr/share/boot/httpfs-static
    1.13 +	else
    1.14 +		sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
    1.15 +		cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static
    1.16 +	fi
    1.17  	. ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin
    1.18 -	cp -a static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static
    1.19 +	install -m 755 static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static
    1.20  	upx -d $DESTDIR/usr/share/boot/fusermount-static
    1.21 +	chmod 4755 $DESTDIR/usr/share/boot/fusermount-static
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.