38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Template build file for 'json-glib'.
|
|
pkgname=json-glib
|
|
version=0.16.0
|
|
revision=1
|
|
configure_args="--enable-static --with-pic=yes"
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config gobject-introspection"
|
|
makedepends="libglib-devel"
|
|
short_desc="A JSON parser for GLib-based libraries and applications"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://live.gnome.org/JsonGlib"
|
|
license="LGPL-2"
|
|
distfiles="${GNOME_SITE}/${pkgname}/0.16/${pkgname}-${version}.tar.xz"
|
|
checksum=e4a3fd2f399e4c148aad608e6ed0a94095f2ddde9dd12f5aa2f072ecae5c1d37
|
|
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."
|
|
|
|
json-glib-devel_package() {
|
|
depends="libglib-devel json-glib>=${version}"
|
|
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
|
|
}
|
|
}
|