New package: qjson-0.8.1.

This commit is contained in:
Juan RP 2013-06-16 21:18:39 +02:00
parent 25238d37cd
commit 100270f08c
3 changed files with 37 additions and 0 deletions

View file

@ -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

1
srcpkgs/qjson-devel Symbolic link
View file

@ -0,0 +1 @@
qjson

35
srcpkgs/qjson/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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
}
}