wok-6.x annotate httpfs-fuse/receipt @ rev 21236
Up suricata (4.1.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 11 15:01:35 2019 +0200 (2019-04-11) |
parents | f44f973e1b42 |
children | ba7cbdb5749c |
rev | line source |
---|---|
pascal@1288 | 1 # SliTaz package receipt. |
pascal@1288 | 2 |
pascal@1288 | 3 PACKAGE="httpfs-fuse" |
pascal@1288 | 4 VERSION="2.06.08.26" |
pascal@1288 | 5 CATEGORY="system-tools" |
pascal@1288 | 6 SHORT_DESC="HTTP Filesystem implemented with FUSE." |
pascal@1288 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL2" |
pascal@1288 | 9 SOURCE="httpfs_with_static_binaries" |
pascal@1288 | 10 TARBALL="${SOURCE}_$VERSION.tar.gz" |
pascal@1288 | 11 WEB_SITE="http://httpfs.sourceforge.net/" |
pascal@1288 | 12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL" |
jozee@4937 | 13 TAGS="filesystem" |
pascal@1288 | 14 |
pascal@15600 | 15 DEPENDS="fuse" |
pascal@19236 | 16 BUILD_DEPENDS="fuse-dev upx" |
pascal@15600 | 17 |
pascal@1288 | 18 # Rules to configure and make the package. |
pascal@1288 | 19 compile_rules() |
pascal@1288 | 20 { |
pascal@19232 | 21 patch -p0 < $stuff/httpfs.u |
pascal@19232 | 22 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot |
pascal@19237 | 23 # keep uclibc prebuilt. Glibc version is 10x bigger ! |
pascal@19237 | 24 if true; then |
pascal@19238 | 25 install -m 755 static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static |
pascal@19237 | 26 upx -d $DESTDIR/usr/share/boot/httpfs-static |
pascal@19237 | 27 else |
pascal@19237 | 28 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh |
pascal@19237 | 29 cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static |
pascal@19237 | 30 fi |
pascal@19235 | 31 . ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin |
pascal@19237 | 32 install -m 755 static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static |
pascal@19236 | 33 upx -d $DESTDIR/usr/share/boot/fusermount-static |
pascal@19237 | 34 chmod 4755 $DESTDIR/usr/share/boot/fusermount-static |
pascal@19238 | 35 chmod 555 $DESTDIR/usr/share/boot/httpfs-static |
pascal@1288 | 36 } |
pascal@1288 | 37 |
pascal@1288 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1288 | 39 genpkg_rules() |
pascal@1288 | 40 { |
slaxemulator@9033 | 41 mkdir -p $fs/usr |
pascal@15600 | 42 cp -a $install/usr/bin $fs/usr |
pascal@1288 | 43 } |