wok annotate fuse/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 957a0d04295e
children 20ad21d5532c
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="fuse"
Hans-G?nter@24580 4 VERSION="3.10.5"
pankso@202 5 CATEGORY="system-tools"
Hans-G?nter@24580 6 TAGS="filesystem"
pankso@34 7 SHORT_DESC="Fuse Filsystem in user space."
pankso@34 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@24580 10 WEB_SITE="https://github.com/libfuse/libfuse"
Hans-G?nter@24580 11
Hans-G?nter@24580 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@24580 13 WGET_URL="$WEB_SITE/releases/download/$PACKAGE-$VERSION/$TARBALL"
Hans-G?nter@24580 14
Hans-G?nter@24580 15 DEPENDS="gcc83-lib-base"
Hans-G?nter@24580 16 BUILD_DEPENDS="gcc83 meson ninja udev-dev"
Hans-G?nter@24580 17
pankso@16381 18 HOST_ARCH="i486 arm"
pankso@34 19
pascal@24767 20 # What is the latest version available today?
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24055 23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 24 sed '/archive.*tar/!d;s|.*/fuse-\(.*\).tar.*|\1|;q'
pascal@24055 25 }
pascal@24055 26
pankso@34 27 # Rules to configure and make the package.
pankso@34 28 compile_rules()
pankso@34 29 {
Hans-G?nter@24580 30 export CC=gcc-83
Hans-G?nter@24580 31 export CXX=g++-83
Hans-G?nter@24580 32
Hans-G?nter@24580 33 mkdir _build
Hans-G?nter@24580 34 cd _build
Hans-G?nter@24580 35 meson .. \
Hans-G?nter@24580 36 --prefix=/usr &&
Hans-G?nter@24580 37 ninja &&
Hans-G?nter@24580 38 ninja install
pankso@34 39 }
pankso@34 40
pankso@34 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 42 genpkg_rules()
pankso@34 43 {
Hans-G?nter@24580 44 cook_copy_folders dev
Hans-G?nter@24580 45 cook_copy_folders bin
Hans-G?nter@24580 46 cp -a $install/usr/sbin $fs
Hans-G?nter@24580 47 cook_copy_files *.so*
pankso@34 48 }