wok-current view httpfs-fuse/receipt @ rev 19236
Build httpfs-static (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 26 12:55:29 2016 +0200 (2016-06-26) |
parents | 21f4cf58cc83 |
children | f44f973e1b42 |
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 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh &&
24 cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static &&
25 . ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin
26 cp -a static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static
27 upx -d $DESTDIR/usr/share/boot/fusermount-static
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }