wok-next view httpfs-fuse/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents df20b2110f7e
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://httpfs.sourceforge.net/"
10 REPOLOGY="fusefs:httpfs"
12 TARBALL="httpfs_with_static_binaries_$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
15 BUILD_DEPENDS="fuse2-dev upx391"
16 SPLIT="$PACKAGE-static"
18 compile_rules() {
19 mkdir -p $install/usr/bin $install/usr/share/boot
20 # keep uclibc prebuilt. Glibc version is 10x bigger!
21 if true; then
22 install -m 755 static_uclibc/httpfs $install/usr/share/boot/httpfs-static
23 upx -d $install/usr/share/boot/httpfs-static
24 else
25 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
26 cp -a httpfs $install/usr/share/boot/httpfs-static
27 fi
28 . ./make_httpfs && cp -a httpfs $install/usr/bin
29 install -m 755 static_uclibc/fusermount $install/usr/share/boot/fusermount-static
30 upx -d $install/usr/share/boot/fusermount-static
31 chmod 4755 $install/usr/share/boot/fusermount-static
32 chmod 555 $install/usr/share/boot/httpfs-static
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 httpfs-fuse)
38 copy /usr/bin/
39 DEPENDS="fuse2"
40 ;;
41 httpfs-fuse-static)
42 copy /usr/share/
43 CAT="system-tools|static files"
44 ;;
45 esac
46 TAGS="filesystem"
47 }