wok-next diff httpfs-fuse/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 55f255b764b0 |
children | 474eb4a6385a |
line diff
1.1 --- a/httpfs-fuse/receipt Sun Jun 26 13:27:44 2016 +0200 1.2 +++ b/httpfs-fuse/receipt Wed Nov 15 14:21:32 2017 +0200 1.3 @@ -1,43 +1,46 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="httpfs-fuse" 1.8 VERSION="2.06.08.26" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="HTTP Filesystem implemented with FUSE." 1.11 +SHORT_DESC="HTTP Filesystem implemented with FUSE" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -SOURCE="httpfs_with_static_binaries" 1.15 -TARBALL="${SOURCE}_$VERSION.tar.gz" 1.16 WEB_SITE="http://httpfs.sourceforge.net/" 1.17 + 1.18 +TARBALL="httpfs_with_static_binaries_$VERSION.tar.gz" 1.19 WGET_URL="$SF_MIRROR/httpfs/$TARBALL" 1.20 -TAGS="filesystem" 1.21 1.22 -DEPENDS="fuse" 1.23 -BUILD_DEPENDS="fuse-dev upx" 1.24 +BUILD_DEPENDS="fuse-dev upx391" 1.25 +SPLIT="httpfs-fuse-static" 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 - patch -p0 < $stuff/httpfs.u 1.31 - mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/boot 1.32 - # keep uclibc prebuilt. Glibc version is 10x bigger ! 1.33 +compile_rules() { 1.34 + mkdir -p $install/usr/bin $install/usr/share/boot 1.35 + # keep uclibc prebuilt. Glibc version is 10x bigger! 1.36 if true; then 1.37 - install -m 755 static_uclibc/httpfs $DESTDIR/usr/share/boot/httpfs-static 1.38 - upx -d $DESTDIR/usr/share/boot/httpfs-static 1.39 + install -m 755 static_uclibc/httpfs $install/usr/share/boot/httpfs-static 1.40 + upx -d $install/usr/share/boot/httpfs-static 1.41 else 1.42 sed 's/lpthread/& -ldl -lrt/' static_uclibc/make_httpfs | sh 1.43 - cp -a httpfs $DESTDIR/usr/share/boot/httpfs-static 1.44 + cp -a httpfs $install/usr/share/boot/httpfs-static 1.45 fi 1.46 - . ./make_httpfs && cp -a httpfs $DESTDIR/usr/bin 1.47 - install -m 755 static_uclibc/fusermount $DESTDIR/usr/share/boot/fusermount-static 1.48 - upx -d $DESTDIR/usr/share/boot/fusermount-static 1.49 - chmod 4755 $DESTDIR/usr/share/boot/fusermount-static 1.50 - chmod 555 $DESTDIR/usr/share/boot/httpfs-static 1.51 + . ./make_httpfs && cp -a httpfs $install/usr/bin 1.52 + install -m 755 static_uclibc/fusermount $install/usr/share/boot/fusermount-static 1.53 + upx -d $install/usr/share/boot/fusermount-static 1.54 + chmod 4755 $install/usr/share/boot/fusermount-static 1.55 + chmod 555 $install/usr/share/boot/httpfs-static 1.56 } 1.57 1.58 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.59 -genpkg_rules() 1.60 -{ 1.61 - mkdir -p $fs/usr 1.62 - cp -a $install/usr/bin $fs/usr 1.63 +genpkg_rules() { 1.64 + case $PACKAGE in 1.65 + httpfs-fuse) 1.66 + copy /usr/bin/ 1.67 + DEPENDS="fuse" 1.68 + ;; 1.69 + httpfs-fuse-static) 1.70 + copy /usr/share/ 1.71 + CAT="system-tools|static files" 1.72 + ;; 1.73 + esac 1.74 + TAGS="filesystem" 1.75 }