# SliTaz package receipt.

PACKAGE="lzo"
VERSION="2.05"
CATEGORY="system-tools"
SHORT_DESC="Data compression library"
MAINTAINER="erjo@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/"
WGET_URL="http://www.oberhumer.com/opensource/lzo/download/$TARBALL"

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