# HG changeset patch # User Aleksej Bobylev # Date 1397025657 -10800 # Node ID 9a0770ab3525ac48a2e265ec10557ad3204333ff # Parent c3460fec1e9b45a784c3e91d6df75be9983753f9 Add qjson, libguess diff -r c3460fec1e9b -r 9a0770ab3525 libguess/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libguess/description.txt Wed Apr 09 09:40:57 2014 +0300 @@ -0,0 +1,4 @@ +This library let your program manage a dictionary of acceptable user inputs and +can "guess" what the user means by comparing it to the most relevant dictionary +entries. This enables stellar performance with dictionary of any size. +The library requires C++ as it uses extensively the standard containers. diff -r c3460fec1e9b -r 9a0770ab3525 libguess/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libguess/receipt Wed Apr 09 09:40:57 2014 +0300 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libguess" +VERSION="gpl" +CATEGORY="development" +SHORT_DESC="User input ambiguity resolver for user inputs written in C++" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="http://sourceforge.net/projects/libguess" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="git|git://git.code.sf.net/p/libguess/code" + +DEPENDS="gcc-lib-base glibc-base" +BUILD_DEPENDS="git" + +# Rules to configure and make the package. +compile_rules() +{ + cd Release + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $src/Release/libguess.so $fs/usr/lib + mkdir -p $fs/usr/include/libguess + install -m644 $src/src/Guess.h $fs/usr/include/libguess/libguess.h +} diff -r c3460fec1e9b -r 9a0770ab3525 qjson-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qjson-dev/receipt Wed Apr 09 09:40:57 2014 +0300 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="qjson-dev" +VERSION="0.8.1" +CATEGORY="development" +SHORT_DESC="Development files for qjson" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="http://qjson.sourceforge.net/" +WANTED="qjson" +DEPENDS="qjson" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + rm -f $fs/usr/lib/*.so* + +} diff -r c3460fec1e9b -r 9a0770ab3525 qjson/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qjson/description.txt Wed Apr 09 09:40:57 2014 +0300 @@ -0,0 +1,9 @@ +JSON (JavaScript Object Notation) is a lightweight data-interchange format. +It can represents integer, real number, string, an ordered sequence of value, +and a collection of name/value pairs. + +QJson is a Qt-based library that maps JSON data to QVariant objects and +vice versa. + +JSON arrays will be mapped to QVariantList instances, while JSON objects +will be mapped to QVariantMap. diff -r c3460fec1e9b -r 9a0770ab3525 qjson/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qjson/receipt Wed Apr 09 09:40:57 2014 +0300 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="qjson" +VERSION="0.8.1" +CATEGORY="development" +SHORT_DESC="QJson is a qt-based library that maps JSON data to QVariant objects" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="http://qjson.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.zip" +WGET_URL="https://github.com/flavio/qjson/archive/master.zip" + +DEPENDS="libQtGui libQtNetwork libQtSql libcrypto" +BUILD_DEPENDS="Qt4-dev qmake cmake wget" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}