2011-02-05 15:33:15 +00:00
|
|
|
# Template build file for 'json-glib'.
|
|
|
|
pkgname=json-glib
|
2013-09-26 16:06:22 +00:00
|
|
|
version=0.16.2
|
2013-03-28 17:55:18 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-28 17:55:18 +00:00
|
|
|
hostmakedepends="pkg-config gobject-introspection"
|
2013-04-12 14:52:48 +00:00
|
|
|
makedepends="libglib-devel"
|
2011-02-05 15:33:15 +00:00
|
|
|
short_desc="A JSON parser for GLib-based libraries and applications"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-17 14:24:24 +00:00
|
|
|
homepage="http://live.gnome.org/JsonGlib"
|
|
|
|
license="LGPL-2"
|
2013-09-26 16:06:22 +00:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=a95475364ec27ab1d2a69303cf579018558bfb6981e3498b3aaf1e6401f7422c
|
2011-02-05 15:33:15 +00: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 14:52:48 +00:00
|
|
|
|
|
|
|
json-glib-devel_package() {
|
2013-04-17 20:06:24 +00:00
|
|
|
depends="libglib-devel json-glib>=${version}"
|
2013-09-26 16:06:22 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 14:52:48 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 16:06:22 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 14:52:48 +00:00
|
|
|
}
|
|
|
|
}
|