2011-02-05 16:33:15 +01:00
|
|
|
# Template build file for 'json-glib'.
|
|
|
|
pkgname=json-glib
|
2013-04-17 22:06:24 +02:00
|
|
|
version=0.16.0
|
2013-03-28 18:55:18 +01:00
|
|
|
revision=1
|
2012-03-18 07:35:15 +01:00
|
|
|
configure_args="--enable-static --with-pic=yes"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-28 18:55:18 +01:00
|
|
|
hostmakedepends="pkg-config gobject-introspection"
|
2013-04-12 16:52:48 +02:00
|
|
|
makedepends="libglib-devel"
|
2011-02-05 16:33:15 +01:00
|
|
|
short_desc="A JSON parser for GLib-based libraries and applications"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-17 16:24:24 +02:00
|
|
|
homepage="http://live.gnome.org/JsonGlib"
|
|
|
|
license="LGPL-2"
|
2013-04-17 22:06:24 +02:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/0.16/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=e4a3fd2f399e4c148aad608e6ed0a94095f2ddde9dd12f5aa2f072ecae5c1d37
|
2011-02-05 16:33:15 +01:00
|
|
|
long_desc="
|
|
|
|
JSON-GLib implements a full JSON parser using GLib and GObject.
|
|
|
|
|
|
|
|
Use JSON-GLib it is possible to parse and generate valid JSON data
|
|
|
|
structures, using a DOM-like API. JSON-GLib also offers GObject
|
|
|
|
integration, providing the ability to serialize and deserialize
|
|
|
|
GObject instances to and from JSON data types."
|
2013-04-12 16:52:48 +02:00
|
|
|
|
|
|
|
json-glib-devel_package() {
|
2013-04-17 22:06:24 +02:00
|
|
|
depends="libglib-devel json-glib>=${version}"
|
2013-04-12 16:52:48 +02:00
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
json-glib_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|