New package: json-c-0.9, required by pulseaudio-1.0.

This commit is contained in:
Juan RP 2011-09-28 09:02:54 +02:00
parent 62ed87a837
commit e83ec9ca8e
5 changed files with 41 additions and 0 deletions

1
srcpkgs/json-c-devel Symbolic link
View file

@ -0,0 +1 @@
json-c

2
srcpkgs/json-c/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.9"
api_depends="${abi_depends}"

View file

@ -0,0 +1,15 @@
# Template file for 'json-c-devel'.
#
short_desc="${sourcepkg} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run json-c
do_install()
{
vmove "usr/lib/*.a" usr/lib
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

22
srcpkgs/json-c/template Normal file
View file

@ -0,0 +1,22 @@
# Template build file for 'json-c'.
pkgname=json-c
version=0.9
homepage="http://oss.metaparadigm.com/$pkgname"
distfiles="$homepage/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="A JSON implementation in C"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
checksum=702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475
long_desc="
JSON-C implements a reference counting object model that allows you to easily
construct JSON objects in C, output them as JSON formatted strings and parse
JSON formatted strings back into the C representation of JSON objects."
subpackages="${pkgname}-devel"
Add_dependency run glibc
post_install()
{
vinstall COPYING 644 usr/share/licenses/${pkgname}
}

View file

@ -833,3 +833,4 @@ libmx-1.0.so mx mx-devel
libmx-gtk-1.0.so mx mx-devel
libcheese.so cheese cheese-devel
libcheese-gtk.so.20 cheese cheese-devel
libjson.so json-c json-c-devel