wok view fuse/receipt @ rev 24939

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