wok annotate httpfs-fuse/receipt @ 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
rev   line source
pascal@1288 1 # SliTaz package receipt.
pascal@1288 2
pascal@1288 3 PACKAGE="httpfs-fuse"
pascal@1288 4 VERSION="2.06.08.26"
pascal@1288 5 CATEGORY="system-tools"
pascal@1288 6 SHORT_DESC="HTTP Filesystem implemented with FUSE."
pascal@1288 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
pascal@1288 9 SOURCE="httpfs_with_static_binaries"
pascal@1288 10 TARBALL="${SOURCE}_$VERSION.tar.gz"
pascal@1288 11 WEB_SITE="http://httpfs.sourceforge.net/"
pascal@1288 12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
jozee@4937 13 TAGS="filesystem"
pascal@1288 14
pascal@15600 15 DEPENDS="fuse"
pascal@19236 16 BUILD_DEPENDS="fuse-dev upx"
pascal@15600 17
pascal@1288 18 # Rules to configure and make the package.
pascal@1288 19 compile_rules()
pascal@1288 20 {
pascal@19232 21 patch -p0 < $stuff/httpfs.u
pascal@19232 22 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot
pascal@19237 23 # keep uclibc prebuilt. Glibc version is 10x bigger !
pascal@19237 24 if true; then
pascal@19237 25 cp -a static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static
pascal@19237 26 upx -d $DESTDIR/usr/share/boot/httpfs-static
pascal@19237 27 else
pascal@19237 28 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
pascal@19237 29 cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static
pascal@19237 30 fi
pascal@19235 31 . ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin
pascal@19237 32 install -m 755 static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static
pascal@19236 33 upx -d $DESTDIR/usr/share/boot/fusermount-static
pascal@19237 34 chmod 4755 $DESTDIR/usr/share/boot/fusermount-static
pascal@1288 35 }
pascal@1288 36
pascal@1288 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1288 38 genpkg_rules()
pascal@1288 39 {
slaxemulator@9033 40 mkdir -p $fs/usr
pascal@15600 41 cp -a $install/usr/bin $fs/usr
pascal@1288 42 }