# SliTaz package receipt.

PACKAGE="libetpan"
VERSION="1.0"
CATEGORY="misc"
SHORT_DESC="Mail librayry"
MAINTAINER="erjo@slitaz.org"
DEPENDS="libsasl expat libcurl libdb openssl zlib gcc-lib-base"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://libetpan.sourceforge.net/libetpan/index.html"
WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/libetpan/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	sed -i 's/--iso-8601=minutes/+%Y-%m-%dT%H:%M%Z/' configure
	./configure --prefix=/usr --infodir=/usr/share/info \
	--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/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
	
}