wok annotate soprano/receipt @ rev 14401

eio-dev: update deps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 18:25:03 2013 +0200 (2013-04-23)
parents
children 7896f0694ef6
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="soprano"
pascal@11227 4 VERSION="2.6.0"
pascal@11227 5 CATEGORY="system-tools"
pascal@11227 6 SHORT_DESC="Soprano is the Qt/C++ RDF framework"
pascal@11227 7 MAINTAINER="pankso@slitaz.org"
pascal@11227 8 DEPENDS="libQtCore libQtNetwork"
pascal@11227 9 BUILD_DEPENDS="cmake qmake Qt4-dev"
pascal@11227 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11227 11 WEB_SITE="http://soprano.sourceforge.net/"
pascal@11227 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11227 13
pascal@11227 14 # Rules to configure and make the package.
pascal@11227 15 compile_rules()
pascal@11227 16 {
pascal@11227 17 mkdir -p build && cd build
pascal@11227 18 cmake \
pascal@11227 19 -DCMAKE_INSTALL_PREFIX=/usr \
pascal@11227 20 .. &&
pascal@11227 21 make && make install
pascal@11227 22 }
pascal@11227 23
pascal@11227 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 25 genpkg_rules()
pascal@11227 26 {
pascal@11227 27 mkdir -p $fs/usr/lib
pascal@11227 28 cp -a $install/usr/bin $fs/usr
pascal@11227 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11227 30 cp -a $install/usr/lib/soprano $fs/usr/lib
pascal@11227 31 cp -a $install/usr/share $fs/usr
pascal@11227 32 }