# SliTaz package receipt.

PACKAGE="attica"
VERSION="0.2.0"
CATEGORY="system-tools"
SHORT_DESC="Qt library that implements the Open Collaboration Services API."
MAINTAINER="pankso@slitaz.org"
DEPENDS="libQtCore libQtNetwork"
BUILD_DEPENDS="cmake qmake Qt4-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.kde.org/"
WGET_URL="ftp://ftp.kde.org/pub/kde/stable/attica/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	mkdir -p build && cd build
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		.. &&
	make &&
	make DESTDIR=$src/_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
}