wok-6.x annotate soprano/receipt @ rev 16045
go: update receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Mar 09 17:42:33 2014 +0100 (2014-03-09) |
parents | 7896f0694ef6 |
children | e919c5a2742d |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="soprano" |
pankso@15936 | 4 VERSION="2.8.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@15002 | 8 LICENSE="GPL2" |
pascal@11227 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11227 | 10 WEB_SITE="http://soprano.sourceforge.net/" |
pascal@11227 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 12 |
pankso@15936 | 13 DEPENDS="libQtCore libQtNetwork raptor libiodbc" |
pankso@15936 | 14 BUILD_DEPENDS="cmake qmake Qt4-dev raptor-dev libiodbc-dev" |
pascal@15002 | 15 |
pascal@11227 | 16 # Rules to configure and make the package. |
pascal@11227 | 17 compile_rules() |
pascal@11227 | 18 { |
pascal@11227 | 19 mkdir -p build && cd build |
pascal@11227 | 20 cmake \ |
pascal@11227 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
pascal@11227 | 22 .. && |
pascal@11227 | 23 make && make install |
pascal@11227 | 24 } |
pascal@11227 | 25 |
pascal@11227 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 27 genpkg_rules() |
pascal@11227 | 28 { |
pascal@11227 | 29 mkdir -p $fs/usr/lib |
pascal@11227 | 30 cp -a $install/usr/bin $fs/usr |
pascal@11227 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11227 | 32 cp -a $install/usr/lib/soprano $fs/usr/lib |
pascal@11227 | 33 cp -a $install/usr/share $fs/usr |
pascal@11227 | 34 } |