diff --git a/common/shlibs b/common/shlibs index 38bb79dd585..6ed57777501 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1277,3 +1277,4 @@ libkidletime.so.4 kdelibs-4.10.4_1 libnepomukcore.so.4 nepomuk-core-4.10.4_1 libssh.so.4 libssh-0.5.4_1 libssh_threads.so.4 libssh-0.5.4_1 +libqjson.so.0 qjson-0.8.1_1 diff --git a/srcpkgs/qjson-devel b/srcpkgs/qjson-devel new file mode 120000 index 00000000000..c1f5318a6d1 --- /dev/null +++ b/srcpkgs/qjson-devel @@ -0,0 +1 @@ +qjson \ No newline at end of file diff --git a/srcpkgs/qjson/template b/srcpkgs/qjson/template new file mode 100644 index 00000000000..516d84527c8 --- /dev/null +++ b/srcpkgs/qjson/template @@ -0,0 +1,35 @@ +# Template file for 'qjson' +pkgname=qjson +version=0.8.1 +revision=1 +build_style=cmake +hostmakedepends="cmake" +makedepends="qt-devel" +short_desc="A QT-based library that maps JSON data to QVariant objects" +maintainer="Juan RP " +license="GPL-2" +homepage="http://qjson.sourceforge.net" + +noextract=yes +nofetch=yes + +do_fetch() { + git clone -b${version} git://github.com/flavio/qjson.git ${pkgname}-${version} +} + +qjson-devel_package() { + depends="qt-devel ${sourcepkg}>=${version}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + } +} + +qjson_package() { + pkg_install() { + vmove all + } +}