#Packager: Panagiotis Papasotiriou <p~dot~pap~at~hushmail~dot~com>

pkgname=avfs
pkgver=1.0.3
pkgrel=1pp
source=("http://www.boomerangsworld.de/cms/avfs/downloads/$pkgname-$pkgver.tar.bz2")
sourcetemplate=http://people.salixos.org/papasot/salix/$pkgname
url="https://sourceforge.net/projects/avf.html"
docs=("COPYING" "README" "NEWS")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"avfs (virtual file system)"
"avfs is a system which enables all programs to look inside archived or"
"compressed files, or access remote files without recompiling the"
"programs or changing the kernel."
""
"HomePage: https://sourceforge.net/projects/avf.html"
)

build() {
    cd $SRC/$pkgname-$pkgver
    ./configure --enable-library --enable-shared=yes --enable-static=no --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --mandir=/usr/man --build=$arch-slackware-linux
    make -j $numjobs || exit 1
    make install DESTDIR=$PKG
}