# SliTaz package receipt.

PACKAGE="p11-kit"
VERSION="0.6"
CATEGORY="security"
LICENSE="BSD"
SHORT_DESC="Library to work with PKCS#11 modules"
MAINTAINER="slaxemulator@gmail.com"
WEB_SITE="http://p11-glue.freedesktop.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/releases/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--sysconfdir=/etc \
		--with-module-path=/usr/lib/pkcs11 \
		$CONFIGURE_ARGS && 
	make && make install
}

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