wok rev 16309

Add qjson, libguess
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 09 09:40:57 2014 +0300 (2014-04-09)
parents c3460fec1e9b
children 7d5c0cb4336a
files libguess/description.txt libguess/receipt qjson-dev/receipt qjson/description.txt qjson/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libguess/description.txt	Wed Apr 09 09:40:57 2014 +0300
     1.3 @@ -0,0 +1,4 @@
     1.4 +This library let your program manage a dictionary of acceptable user inputs and
     1.5 +can "guess" what the user means by comparing it to the most relevant dictionary
     1.6 +entries. This enables stellar performance with dictionary of any size.
     1.7 +The library requires C++ as it uses extensively the standard containers.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libguess/receipt	Wed Apr 09 09:40:57 2014 +0300
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libguess"
     2.7 +VERSION="gpl"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="User input ambiguity resolver for user inputs written in C++"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL3"
    2.12 +WEB_SITE="http://sourceforge.net/projects/libguess"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WGET_URL="git|git://git.code.sf.net/p/libguess/code"
    2.15 +
    2.16 +DEPENDS="gcc-lib-base glibc-base"
    2.17 +BUILD_DEPENDS="git"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd Release
    2.23 +	make
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/lib
    2.30 +	cp -a $src/Release/libguess.so $fs/usr/lib
    2.31 +	mkdir -p $fs/usr/include/libguess
    2.32 +	install -m644 $src/src/Guess.h $fs/usr/include/libguess/libguess.h
    2.33 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/qjson-dev/receipt	Wed Apr 09 09:40:57 2014 +0300
     3.3 @@ -0,0 +1,19 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="qjson-dev"
     3.7 +VERSION="0.8.1"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Development files for qjson"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="LGPL2.1"
    3.12 +WEB_SITE="http://qjson.sourceforge.net/"
    3.13 +WANTED="qjson"
    3.14 +DEPENDS="qjson"
    3.15 +
    3.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.17 +genpkg_rules()
    3.18 +{
    3.19 +	cp -a $install/* $fs
    3.20 +	rm -f $fs/usr/lib/*.so*
    3.21 +
    3.22 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/qjson/description.txt	Wed Apr 09 09:40:57 2014 +0300
     4.3 @@ -0,0 +1,9 @@
     4.4 +JSON (JavaScript Object Notation) is a lightweight data-interchange format.
     4.5 +It can represents integer, real number, string, an ordered sequence of value,
     4.6 +and a collection of name/value pairs.
     4.7 +
     4.8 +QJson is a Qt-based library that maps JSON data to QVariant objects and
     4.9 +vice versa.
    4.10 +
    4.11 +JSON arrays will be mapped to QVariantList instances, while JSON objects
    4.12 +will be mapped to QVariantMap.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/qjson/receipt	Wed Apr 09 09:40:57 2014 +0300
     5.3 @@ -0,0 +1,29 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="qjson"
     5.7 +VERSION="0.8.1"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="QJson is a qt-based library that maps JSON data to QVariant objects"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="LGPL2.1"
    5.12 +WEB_SITE="http://qjson.sourceforge.net/"
    5.13 +TARBALL="$PACKAGE-$VERSION.zip"
    5.14 +WGET_URL="https://github.com/flavio/qjson/archive/master.zip"
    5.15 +
    5.16 +DEPENDS="libQtGui libQtNetwork libQtSql libcrypto"
    5.17 +BUILD_DEPENDS="Qt4-dev qmake cmake wget"
    5.18 +
    5.19 +# Rules to configure and make the package.
    5.20 +compile_rules()
    5.21 +{
    5.22 +	mkdir build && cd build
    5.23 +	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    5.24 +	make && make install
    5.25 +}
    5.26 +
    5.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.28 +genpkg_rules()
    5.29 +{
    5.30 +	mkdir -p $fs/usr/lib
    5.31 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.32 +}