wok-current view httpfs-fuse/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | ba7cbdb5749c |
children | 7dd01dedad38 |
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="fuse2"
16 BUILD_DEPENDS="fuse2-dev upx"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/httpfs/files/httpfs/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/httpfs/[a-z_]*||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 patch -p0 < $stuff/httpfs.u
30 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot
31 # keep uclibc prebuilt. Glibc version is 10x bigger !
32 if true; then
33 install -m 755 static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static
34 upx -d $DESTDIR/usr/share/boot/httpfs-static
35 else
36 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
37 cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static
38 fi
39 . ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin
40 install -m 755 static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static
41 upx -d $DESTDIR/usr/share/boot/fusermount-static
42 chmod 4755 $DESTDIR/usr/share/boot/fusermount-static
43 chmod 555 $DESTDIR/usr/share/boot/httpfs-static
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr
50 cp -a $install/usr/bin $fs/usr
51 }