wok view fuse2/receipt @ rev 24938

mypaint-brushes: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 09:10:40 2022 +0000 (2022-04-14)
parents 8b705f9aa129
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="fuse2"
4 VERSION="2.9.9"
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="http://fuse.sourceforge.net/"
12 SOURCE="fuse"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/libfuse/libfuse/releases/download/$SOURCE-$VERSION/$TARBALL"
16 PROVIDE="fuse"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://raw.githubusercontent.com/libfuse/libfuse/master/ChangeLog.rst 2>/dev/null | \
24 sed '/^FUSE 2/!d;s|FUSE ||;s| .*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/dev $fs
42 cp -a $install/sbin $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }