wok-next view soprano/receipt @ rev 15088

py3k: add bdeps...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 21:00:08 2013 +0000 (2013-08-13)
parents 532ab3b57d40
children 579bfd0929b6
line source
1 # SliTaz package receipt.
3 PACKAGE="soprano"
4 VERSION="2.6.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Soprano is the Qt/C++ RDF framework"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://soprano.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libQtCore libQtNetwork"
14 BUILD_DEPENDS="cmake qmake Qt4-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p build && cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 .. &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/soprano $fs/usr/lib
33 cp -a $install/usr/share $fs/usr
34 }