# HG changeset patch # User Pascal Bellard # Date 1466939845 -7200 # Node ID f44f973e1b425c035a20146a066ff66f66fec3ac # Parent e7289f2af0c85dc6cf6dc82fc24b67f3c4e149b5 Do not (re)build httpfs-static (10x bigger) diff -r e7289f2af0c8 -r f44f973e1b42 httpfs-fuse/receipt --- a/httpfs-fuse/receipt Sun Jun 26 12:55:29 2016 +0200 +++ b/httpfs-fuse/receipt Sun Jun 26 13:17:25 2016 +0200 @@ -20,11 +20,18 @@ { patch -p0 < $stuff/httpfs.u mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot - sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh && - cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static && + # keep uclibc prebuilt. Glibc version is 10x bigger ! + if true; then + cp -a static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static + upx -d $DESTDIR/usr/share/boot/httpfs-static + else + sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh + cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static + fi . ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin - cp -a static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static + install -m 755 static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static upx -d $DESTDIR/usr/share/boot/fusermount-static + chmod 4755 $DESTDIR/usr/share/boot/fusermount-static } # Rules to gen a SliTaz package suitable for Tazpkg.