# SliTaz package receipt.

PACKAGE="libstroke"
VERSION="0.5.1"
CATEGORY="system-tools"
SHORT_DESC="Stroke translation library"
MAINTAINER="pankso@slitaz.org"
DEPENDS=""
BUILD_DEPENDS="xorg-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://etla.net/libstroke/"
WGET_URL="$WEB_SITE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr &&
	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
}