# HG changeset patch # User Christophe Lincoln # Date 1275235773 -7200 # Node ID 133b337007856738e6283c23af902b49b4bfa041 # Parent 97dbb8e8d7fe7710770695e7474188b3aa80dc62 Add attica (Qt library for Open Collaboration Services API) diff -r 97dbb8e8d7fe -r 133b33700785 attica-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/attica-dev/receipt Sun May 30 18:09:33 2010 +0200 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="attica-dev" +VERSION="0.1.3" +CATEGORY="development" +SHORT_DESC="Attica devel file." +MAINTAINER="pankso@slitaz.org" +WANTED="attica" +WEB_SITE="http://www.kde.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 97dbb8e8d7fe -r 133b33700785 attica/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/attica/receipt Sun May 30 18:09:33 2010 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="attica" +VERSION="0.1.3" +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 +}