void-packages/srcpkgs/qjson/template
2013-06-16 21:18:39 +02:00

35 lines
696 B
Text

# 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
}
}