wok-current annotate fuse/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 8b705f9aa129
children 5926178cd6fa
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
shann@25582 15 DEPENDS="gcc-lib-base"
shann@25582 16 BUILD_DEPENDS="gcc 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 {
shann@25582 30 export CC=gcc
shann@25582 31 export CXX=g++
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 }