New package: jansson-2.4.

This commit is contained in:
Juan RP 2012-12-30 00:17:05 +01:00
parent 9aeefe294b
commit bd0305ec97
4 changed files with 28 additions and 0 deletions

View File

@ -1165,3 +1165,4 @@ libemotion.so.1 emotion-1.7.4_1
libethumb.so.1 ethumb-1.7.4_1
libethumb_client.so.1 ethumb-1.7.4_1
libelementary.so.1 elementary-1.7.4_1
libjansson.so.4 jansson-2.4_1

1
srcpkgs/jansson-devel Symbolic link
View File

@ -0,0 +1 @@
jansson

View File

@ -0,0 +1,10 @@
# Template file for 'jansson-devel'.
#
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
}

16
srcpkgs/jansson/template Normal file
View File

@ -0,0 +1,16 @@
# Template file for 'jansson'
pkgname=jansson
version=2.4
revision=1
subpackages="${pkgname}-devel"
build_style=gnu-configure
short_desc="Library for encoding, decoding and manipulating JSON data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.digip.org/jansson/"
distfiles="http://www.digip.org/jansson/releases/jansson-${version}.tar.bz2"
checksum=de589151586e0766a08921f3167953a3ed62079be828bcc949cd9b2b6dcfaf90
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}