wok-current view httpfs-fuse/receipt @ rev 22498
updated aspell-en (7.1-0 -> 2019.10.06.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 01 09:13:39 2020 +0100 (2020-01-01) |
parents | f44f973e1b42 |
children | ba7cbdb5749c |
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="fuse"
16 BUILD_DEPENDS="fuse-dev upx"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p0 < $stuff/httpfs.u
22 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot
23 # keep uclibc prebuilt. Glibc version is 10x bigger !
24 if true; then
25 install -m 755 static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static
26 upx -d $DESTDIR/usr/share/boot/httpfs-static
27 else
28 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh
29 cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static
30 fi
31 . ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin
32 install -m 755 static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static
33 upx -d $DESTDIR/usr/share/boot/fusermount-static
34 chmod 4755 $DESTDIR/usr/share/boot/fusermount-static
35 chmod 555 $DESTDIR/usr/share/boot/httpfs-static
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }