SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "afpfs-ng"

# SliTaz package receipt.

PACKAGE="afpfs-ng"
VERSION="0.8.1"
CATEGORY="system-tools"
SHORT_DESC="The free afpfs driver."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://alexthepuffin.googlepages.com/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="fuse2 libgcrypt readline gmp"
BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse2-dev automake"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/afpfs-ng/files/afpfs-ng/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/afpfs-ng/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)