wok-4.x view soprano/receipt @ rev 11747

merge
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 22 02:51:12 2012 +0100 (2012-02-22)
parents
children
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 DEPENDS="libQtCore libQtNetwork"
9 BUILD_DEPENDS="cmake qmake Qt4-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://soprano.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p build && cd build
18 cmake \
19 -DCMAKE_INSTALL_PREFIX=/usr \
20 .. &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp -a $install/usr/lib/soprano $fs/usr/lib
31 cp -a $install/usr/share $fs/usr
32 }