wok-current annotate httpfs2-fuse/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (2 weeks ago) |
parents | f234d4e2fdbd |
children |
rev | line source |
---|---|
pascal@19229 | 1 # SliTaz package receipt. |
pascal@19229 | 2 |
pascal@19229 | 3 PACKAGE="httpfs2-fuse" |
pascal@19229 | 4 VERSION="0.1.5" |
pascal@19229 | 5 SOURCE="httpfs2" |
pascal@19229 | 6 CATEGORY="system-tools" |
pascal@19229 | 7 SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE." |
pascal@19229 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19229 | 9 LICENSE="GPL2" |
pascal@19229 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@25460 | 11 WEB_SITE="https://httpfs.sourceforge.net/" |
pascal@19229 | 12 WGET_URL="$SF_MIRROR/httpfs/$TARBALL" |
pascal@19229 | 13 PROVIDE="httpfs-fuse" |
pascal@19229 | 14 TAGS="filesystem" |
pascal@19229 | 15 |
pascal@24765 | 16 DEPENDS="gcc-lib-base fuse2 libgnutls" |
pascal@25464 | 17 BUILD_DEPENDS="fuse2-dev gnutls-dev libgnutls pkg-config asciidoc docbook-xml docbook-xsl" |
pascal@19229 | 18 |
pascal@24412 | 19 # What is the latest version available today? |
pascal@24412 | 20 current_version() |
pascal@24412 | 21 { |
pascal@24412 | 22 wget -O - https://sourceforge.net/projects/httpfs/files/httpfs2/ 2>/dev/null | \ |
pascal@24412 | 23 sed '/scope="row/!d;/tar/!d;/\/httpfs/!d;s|.*/httpfs2-||;s|.tar.*||;q' |
pascal@24412 | 24 } |
pascal@24412 | 25 |
pascal@19229 | 26 # Rules to configure and make the package. |
pascal@19229 | 27 compile_rules() |
pascal@19229 | 28 { |
pascal@19229 | 29 sed -i "s/^package = .*/package = $SOURCE/" Makefile |
pascal@19229 | 30 sed -i "s/^version = .*/version = $VERSION/" Makefile |
pascal@19229 | 31 sed -i "s/^revision = .*/revision = 1/" Makefile |
pascal@19229 | 32 sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile |
pascal@23901 | 33 make -j 1 |
pascal@19229 | 34 } |
pascal@19229 | 35 |
pascal@19229 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19229 | 37 genpkg_rules() |
pascal@19229 | 38 { |
pascal@23902 | 39 mkdir -p $fs/usr/bin $install/usr/share/doc $install/usr/share/man |
pascal@23901 | 40 cp -a $src/httpfs2*mt $src/httpfs*[2l] $fs/usr/bin/ |
pascal@23901 | 41 cp $src/*.1 $install/usr/share/man |
pascal@23902 | 42 cp $src/*.txt $install/usr/share/doc |
pascal@19229 | 43 } |