]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - json-c/json-c.nm
pyliblzma: Drop package
[people/amarx/ipfire-3.x.git] / json-c / json-c.nm
CommitLineData
1a23cf90
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = json-c
7version = 0.12
8reldate = 20140410
9release = 1
10thisapp = %{name}-%{version}-%{reldate}
11
12groups = System/Libraries
13url = https://github.com/json-c/json-c/wiki
14license = MIT
15summary = A JSON implementation in C
16
17description
18 JSON-C implements a reference counting object model that allows you to
19 easily construct JSON objects in C, output them as JSON formatted strings
20 and parse JSON formatted strings back into the C representation of JSON
21 objects.
22end
23
24source_dl = https://github.com/json-c/json-c/archive/
25
26build
27 requires
28 autoconf
29 automake
30 libtool
31 end
32
33 DIR_APP = %{DIR_SRC}/%{name}-%{thisapp}
34
35 prepare_cmds
36 sed -i 's|-Werror ||g' Makefile.am.inc
37
38 # Bump the soname manually.
39 sed -i 's#2:1:0#3:0:0#' Makefile.am
40
41 autoreconf -vif
42 end
43
44 configure_options += \
45 --enable-rdrand
46
47 test
48 make check
49 end
50end
51
52packages
53 package %{name}
54
55 package %{name}-devel
56 template DEVEL
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62end