# SliTaz package receipt.

PACKAGE="litmus"
VERSION="0.12.1"
CATEGORY="network"
SHORT_DESC="WEBDAV server protocol compliance test suite."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.webdav.org/neon/litmus"
WGET_URL="$WEB_SITE/$TARBALL"
DEPENDS="openssl libkrb5 libcomerr3 expat neon readline zlib"
BUILD_DEPENDS="openssl-dev krb5-dev expat-dev neon-dev readline-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --infodir=/usr/share/info \
	--libexecdir=/usr/lib --mandir=/usr/share/man \
	$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/lib $fs/usr
}