wok-4.x diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/soprano/receipt	Wed Feb 22 02:51:12 2012 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="soprano"
     1.7 +VERSION="2.6.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Soprano is the Qt/C++ RDF framework"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="libQtCore libQtNetwork"
    1.12 +BUILD_DEPENDS="cmake qmake Qt4-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://soprano.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mkdir -p build && cd build
    1.21 +	cmake \
    1.22 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.23 +		.. &&
    1.24 +	make && make install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $install/usr/bin $fs/usr
    1.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.33 +	cp -a $install/usr/lib/soprano $fs/usr/lib
    1.34 +	cp -a $install/usr/share $fs/usr
    1.35 +}