wok view afuse/receipt @ rev 25587

Update some web_site / wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 06 11:04:30 2023 +0000 (18 months ago)
parents b569b85b0fb9
children
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 WEB_SITE="https://github.com/pcarrier/afuse/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
14 DEPENDS="fuse2"
15 BUILD_DEPENDS="autoconf automake fuse2-dev libtool perl-getopt-long"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf --install --verbose &&
28 sed -i 's|v -V -qversion|v|' configure
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 mkdir -p $install/usr/share/doc
44 cook_copy_folders bin
45 cp $src/README $install/usr/share/doc
46 cp $src/AUTHORS $install/usr/share/doc
47 }