Added json-glib-0.12.2 build template.
This commit is contained in:
parent
26b6870519
commit
f8bf1dcf56
7 changed files with 56 additions and 0 deletions
1
srcpkgs/gir-json-glib
Symbolic link
1
srcpkgs/gir-json-glib
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
json-glib
|
1
srcpkgs/json-glib-devel
Symbolic link
1
srcpkgs/json-glib-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
json-glib
|
2
srcpkgs/json-glib/depends
Normal file
2
srcpkgs/json-glib/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=0.12.2"
|
||||||
|
api_depends="${abi_depends}"
|
13
srcpkgs/json-glib/gir-json-glib.template
Normal file
13
srcpkgs/json-glib/gir-json-glib.template
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Template file for 'gir-json-glib'.
|
||||||
|
#
|
||||||
|
short_desc="Introspection data for json-glib"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains small pieces of introspection data for the
|
||||||
|
json-glib library."
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
install -d ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib
|
||||||
|
}
|
16
srcpkgs/json-glib/json-glib-devel.template
Normal file
16
srcpkgs/json-glib/json-glib-devel.template
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Template file for 'json-glib-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} - development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run glib-devel
|
||||||
|
Add_dependency run json-glib
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||||
|
}
|
22
srcpkgs/json-glib/template
Normal file
22
srcpkgs/json-glib/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template build file for 'json-glib'.
|
||||||
|
pkgname=json-glib
|
||||||
|
version=0.12.2
|
||||||
|
distfiles="${GNOME_SITE}/${pkgname}/0.12/${pkgname}-${version}.tar.bz2"
|
||||||
|
build_style=gnu_configure
|
||||||
|
short_desc="A JSON parser for GLib-based libraries and applications"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=89fa9b870dfe2d8b7b00210be76cdbb2d46a8d2cc77ca7cbe5d081bdf8cad780
|
||||||
|
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."
|
||||||
|
|
||||||
|
subpackages="gir-${pkgname} ${pkgname}-devel"
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run glib
|
||||||
|
Add_dependency build pkg-config
|
||||||
|
Add_dependency build glib-devel
|
||||||
|
Add_dependency build gobject-introspection
|
|
@ -755,3 +755,4 @@ libsvn_ra_neon-1.so libsvn subversion-devel
|
||||||
libsvn_swig_py-1.so subversion-python subversion-devel
|
libsvn_swig_py-1.so subversion-python subversion-devel
|
||||||
libsvn_swig_perl-1.so subversion-perl subversion-devel
|
libsvn_swig_perl-1.so subversion-perl subversion-devel
|
||||||
libsvn_swig_ruby-1.so subversion-ruby subversion-devel
|
libsvn_swig_ruby-1.so subversion-ruby subversion-devel
|
||||||
|
libjson-glib-1.0.so json-glib json-glib-devel
|
||||||
|
|
Loading…
Reference in a new issue