wok rev 24764

afuse: fuse replaced by fuse2
author Hans-G?nter Theisgen
date Fri Mar 18 17:48:15 2022 +0100 (2022-03-18)
parents fe41217df6ed
children b1356f30c0b8 3bb5b852b821
files afuse/receipt
line diff
     1.1 --- a/afuse/receipt	Fri Mar 18 17:38:23 2022 +0100
     1.2 +++ b/afuse/receipt	Fri Mar 18 17:48:15 2022 +0100
     1.3 @@ -3,15 +3,16 @@
     1.4  PACKAGE="afuse"
     1.5  VERSION="0.4.1"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="An automounter implemented with FUSE"
     1.8 +SHORT_DESC="An automounter implemented with FUSE."
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="https://github.com/pcarrier/afuse/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="https://github.com/pcarrier/afuse"
    1.15  WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.16  
    1.17 -DEPENDS="fuse"
    1.18 -BUILD_DEPENDS="fuse-dev perl-getopt-long autoconf automake libtool "
    1.19 +DEPENDS="fuse2"
    1.20 +BUILD_DEPENDS="autoconf automake fuse2-dev libtool perl-getopt-long"
    1.21  
    1.22  # What is the latest version available today?
    1.23  current_version()
    1.24 @@ -23,19 +24,24 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	autoreconf --install --verbose
    1.29 -	sed -i 's|v -V -qversion|v|' configure
    1.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 +	autoreconf --install --verbose &&
    1.33 +	sed -i 's|v -V -qversion|v|'	configure
    1.34 +	./configure				\
    1.35 +		--prefix=/usr			\
    1.36 +		--infodir=/usr/share/info	\
    1.37 +		--mandir=/usr/share/man		\
    1.38  		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40 -	make DESTDIR=$DESTDIR install
    1.41 +	make install DESTDIR=$DESTDIR
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.45  genpkg_rules()                                      
    1.46  {
    1.47 -	mkdir -p $fs/usr/ $install/usr/share/doc
    1.48 -	cp -a $install/usr/bin $fs/usr/
    1.49 -	cp $src/README $src/AUTHORS $install/usr/share/doc
    1.50 +	mkdir -p $fs/usr
    1.51 +	mkdir -p $install/usr/share/doc
    1.52 +
    1.53 +	cook_copy_folders	bin
    1.54 +	cp $src/README		$install/usr/share/doc
    1.55 +	cp $src/AUTHORS		$install/usr/share/doc
    1.56  }