wok-next diff soprano/receipt @ rev 12020

Add node (0.6.12) - Node.js framwork (to run etherpad-lite on slitaz)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 06 14:17:35 2012 +0100 (2012-03-06)
parents
children 7896f0694ef6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/soprano/receipt	Tue Mar 06 14:17:35 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 +}