wok-current annotate soprano/receipt @ rev 15575
Up lighttpd (1.4.33)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 29 08:43:20 2013 +0000 (2013-11-29) |
parents | 532ab3b57d40 |
children | 579bfd0929b6 |
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@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 |
pascal@15002 | 13 DEPENDS="libQtCore libQtNetwork" |
pascal@15002 | 14 BUILD_DEPENDS="cmake qmake Qt4-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 } |