wok view afuse/receipt @ rev 24583

updated fusioninventory-agent (2.5.2 -> 2.6)
author Hans-G?nter Theisgen
date Sun Feb 27 17:43:39 2022 +0100 (2022-02-27)
parents ca81ff4a83e8
children 232c9b0ea779
line source
1 # SliTaz package receipt.
3 PACKAGE="afuse"
4 VERSION="0.4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="An automounter implemented with FUSE"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/pcarrier/afuse"
11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
13 DEPENDS="fuse"
14 BUILD_DEPENDS="fuse-dev perl-getopt-long autoconf automake libtool "
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf --install --verbose
27 sed -i 's|v -V -qversion|v|' configure
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/ $install/usr/share/doc
39 cp -a $install/usr/bin $fs/usr/
40 cp $src/README $src/AUTHORS $install/usr/share/doc
41 }