SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "afuse"

# SliTaz package receipt.

PACKAGE="afuse"
VERSION="0.4.1"
CATEGORY="system-tools"
SHORT_DESC="An automounter implemented with FUSE."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/pcarrier/afuse/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"

DEPENDS="fuse2"
BUILD_DEPENDS="autoconf automake fuse2-dev libtool perl-getopt-long"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    autoreconf --install --verbose &&
    sed -i 's|v -V -qversion|v|'    configure
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.   
genpkg_rules()                                      
{
    mkdir -p $fs/usr
    mkdir -p $install/usr/share/doc

    cook_copy_folders    bin
    cp $src/README        $install/usr/share/doc
    cp $src/AUTHORS        $install/usr/share/doc
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)