ipfire-3.x/json-c/json-c.nm

51 lines
1.1 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = json-c
version = 0.17
reldate = 20230812
release = 1
thisapp = %{name}-%{version}-%{reldate}
groups = System/Libraries
url = https://github.com/json-c/json-c/wiki
license = MIT
summary = A JSON implementation in C
description
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.
end
source_dl = https://github.com/json-c/json-c/archive/refs/tags/
build
requires
cmake
end
DIR_APP = %{DIR_SRC}/%{name}-%{thisapp}
build
%{cmake} .
make %{PARALLELISMFLAGS}
end
end
packages
package %{name}
package %{name}-devel
template DEVEL
end
package %{name}-debuginfo
template DEBUGINFO
end
end