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