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

Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 08 02:55:48 2017 +0200 (2017-12-08)
parents 55f255b764b0
children 474eb4a6385a
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/"
11 TARBALL="httpfs_with_static_binaries_$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
14 BUILD_DEPENDS="fuse-dev upx391"
15 SPLIT="httpfs-fuse-static"
17 compile_rules() {
18 mkdir -p $install/usr/bin $install/usr/share/boot
19 # keep uclibc prebuilt. Glibc version is 10x bigger!
20 if true; then
21 install -m 755 static_uclibc/httpfs $install/usr/share/boot/httpfs-static
22 upx -d $install/usr/share/boot/httpfs-static
23 else
24 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
25 cp -a httpfs $install/usr/share/boot/httpfs-static
26 fi
27 . ./make_httpfs && cp -a httpfs $install/usr/bin
28 install -m 755 static_uclibc/fusermount $install/usr/share/boot/fusermount-static
29 upx -d $install/usr/share/boot/fusermount-static
30 chmod 4755 $install/usr/share/boot/fusermount-static
31 chmod 555 $install/usr/share/boot/httpfs-static
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 httpfs-fuse)
37 copy /usr/bin/
38 DEPENDS="fuse"
39 ;;
40 httpfs-fuse-static)
41 copy /usr/share/
42 CAT="system-tools|static files"
43 ;;
44 esac
45 TAGS="filesystem"
46 }