wok-next annotate httpfs-fuse/receipt @ rev 20332

Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 15 14:21:32 2017 +0200 (2017-11-15)
parents 55f255b764b0
children 474eb4a6385a
rev   line source
al@20332 1 # SliTaz package receipt v2.
pascal@1288 2
pascal@1288 3 PACKAGE="httpfs-fuse"
pascal@1288 4 VERSION="2.06.08.26"
pascal@1288 5 CATEGORY="system-tools"
al@20332 6 SHORT_DESC="HTTP Filesystem implemented with FUSE"
pascal@1288 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
pascal@1288 9 WEB_SITE="http://httpfs.sourceforge.net/"
al@20332 10
al@20332 11 TARBALL="httpfs_with_static_binaries_$VERSION.tar.gz"
pascal@1288 12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
pascal@1288 13
al@20332 14 BUILD_DEPENDS="fuse-dev upx391"
al@20332 15 SPLIT="httpfs-fuse-static"
pascal@15600 16
al@20332 17 compile_rules() {
al@20332 18 mkdir -p $install/usr/bin $install/usr/share/boot
al@20332 19 # keep uclibc prebuilt. Glibc version is 10x bigger!
pascal@19237 20 if true; then
al@20332 21 install -m 755 static_uclibc/httpfs $install/usr/share/boot/httpfs-static
al@20332 22 upx -d $install/usr/share/boot/httpfs-static
pascal@19237 23 else
pascal@19237 24 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
al@20332 25 cp -a httpfs $install/usr/share/boot/httpfs-static
pascal@19237 26 fi
al@20332 27 . ./make_httpfs && cp -a httpfs $install/usr/bin
al@20332 28 install -m 755 static_uclibc/fusermount $install/usr/share/boot/fusermount-static
al@20332 29 upx -d $install/usr/share/boot/fusermount-static
al@20332 30 chmod 4755 $install/usr/share/boot/fusermount-static
al@20332 31 chmod 555 $install/usr/share/boot/httpfs-static
pascal@1288 32 }
pascal@1288 33
al@20332 34 genpkg_rules() {
al@20332 35 case $PACKAGE in
al@20332 36 httpfs-fuse)
al@20332 37 copy /usr/bin/
al@20332 38 DEPENDS="fuse"
al@20332 39 ;;
al@20332 40 httpfs-fuse-static)
al@20332 41 copy /usr/share/
al@20332 42 CAT="system-tools|static files"
al@20332 43 ;;
al@20332 44 esac
al@20332 45 TAGS="filesystem"
pascal@1288 46 }