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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents df20b2110f7e
children
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@20883 10 REPOLOGY="fusefs:httpfs"
al@20332 11
al@20332 12 TARBALL="httpfs_with_static_binaries_$VERSION.tar.gz"
pascal@1288 13 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
pascal@1288 14
al@20527 15 BUILD_DEPENDS="fuse2-dev upx391"
al@21020 16 SPLIT="$PACKAGE-static"
pascal@15600 17
al@20332 18 compile_rules() {
al@20332 19 mkdir -p $install/usr/bin $install/usr/share/boot
al@20332 20 # keep uclibc prebuilt. Glibc version is 10x bigger!
pascal@19237 21 if true; then
al@20332 22 install -m 755 static_uclibc/httpfs $install/usr/share/boot/httpfs-static
al@20332 23 upx -d $install/usr/share/boot/httpfs-static
pascal@19237 24 else
pascal@19237 25 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
al@20332 26 cp -a httpfs $install/usr/share/boot/httpfs-static
pascal@19237 27 fi
al@20332 28 . ./make_httpfs && cp -a httpfs $install/usr/bin
al@20332 29 install -m 755 static_uclibc/fusermount $install/usr/share/boot/fusermount-static
al@20332 30 upx -d $install/usr/share/boot/fusermount-static
al@20332 31 chmod 4755 $install/usr/share/boot/fusermount-static
al@20332 32 chmod 555 $install/usr/share/boot/httpfs-static
pascal@1288 33 }
pascal@1288 34
al@20332 35 genpkg_rules() {
al@20332 36 case $PACKAGE in
al@20332 37 httpfs-fuse)
al@20332 38 copy /usr/bin/
al@20527 39 DEPENDS="fuse2"
al@20332 40 ;;
al@20332 41 httpfs-fuse-static)
al@20332 42 copy /usr/share/
al@20332 43 CAT="system-tools|static files"
al@20332 44 ;;
al@20332 45 esac
al@20332 46 TAGS="filesystem"
pascal@1288 47 }