wok-6.x annotate attica/receipt @ rev 5671

Add attica (Qt library for Open Collaboration Services API)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 30 18:09:33 2010 +0200 (2010-05-30)
parents
children 6a288aadb6ba
rev   line source
pankso@5671 1 # SliTaz package receipt.
pankso@5671 2
pankso@5671 3 PACKAGE="attica"
pankso@5671 4 VERSION="0.1.3"
pankso@5671 5 CATEGORY="system-tools"
pankso@5671 6 SHORT_DESC="Qt library that implements the Open Collaboration Services API."
pankso@5671 7 MAINTAINER="pankso@slitaz.org"
pankso@5671 8 DEPENDS="libQtCore libQtNetwork"
pankso@5671 9 BUILD_DEPENDS="cmake qmake Qt4-dev"
pankso@5671 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@5671 11 WEB_SITE="http://www.kde.org/"
pankso@5671 12 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/attica/$TARBALL"
pankso@5671 13
pankso@5671 14 # Rules to configure and make the package.
pankso@5671 15 compile_rules()
pankso@5671 16 {
pankso@5671 17 cd $src
pankso@5671 18 mkdir -p build && cd build
pankso@5671 19 cmake \
pankso@5671 20 -DCMAKE_INSTALL_PREFIX=/usr \
pankso@5671 21 .. &&
pankso@5671 22 make &&
pankso@5671 23 make DESTDIR=$src/_pkg install
pankso@5671 24 }
pankso@5671 25
pankso@5671 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5671 27 genpkg_rules()
pankso@5671 28 {
pankso@5671 29 mkdir -p $fs/usr/lib
pankso@5671 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@5671 31 }