# SliTaz package receipt.

PACKAGE="afpfs-ng"
VERSION="0.8.1"
CATEGORY="system-tools"
SHORT_DESC="The free afpfs driver."
MAINTAINER="pascal.bellard@slitaz.org"
DEPENDS="fuse libgcrypt readline gmp"
BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev gmp"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://alexthepuffin.googlepages.com/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./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
}