2014-07-19 00:29:49 +02:00
|
|
|
################################################################################
|
|
|
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
2016-01-02 17:29:56 +01:00
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2014-07-19 00:29:49 +02:00
|
|
|
#
|
|
|
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
################################################################################
|
|
|
|
|
|
2015-04-03 12:19:38 +03:00
|
|
|
PKG_NAME="jsoncpp"
|
2017-11-22 14:19:28 +01:00
|
|
|
PKG_VERSION="1.8.3"
|
|
|
|
|
PKG_SHA256="3671ba6051e0f30849942cc66d1798fdf0362d089343a83f704c09ee7156604f"
|
2014-07-19 00:29:49 +02:00
|
|
|
PKG_ARCH="any"
|
|
|
|
|
PKG_LICENSE="GPL"
|
2017-11-22 14:19:28 +01:00
|
|
|
PKG_SITE="https://github.com/open-source-parsers/jsoncpp/"
|
|
|
|
|
PKG_URL="https://github.com/open-source-parsers/jsoncpp/archive/$PKG_VERSION.tar.gz"
|
2015-04-03 12:19:38 +03:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
2014-07-19 00:29:49 +02:00
|
|
|
PKG_SECTION="multimedia"
|
2017-11-22 14:19:28 +01:00
|
|
|
PKG_SHORTDESC="A C++ library for interacting with JSON."
|
|
|
|
|
PKG_LONGDESC="A C++ library for interacting with JSON."
|
2017-10-27 12:40:32 +02:00
|
|
|
PKG_TOOLCHAIN="cmake"
|
2014-07-19 00:29:49 +02:00
|
|
|
|
2017-11-22 14:19:28 +01:00
|
|
|
PKG_CMAKE_OPTS_TARGET="-DJSONCPP_WITH_TESTS=OFF"
|
|
|
|
|
|
2015-04-03 12:19:38 +03:00
|
|
|
pre_configure_target() {
|
|
|
|
|
export CFLAGS="$CFLAGS -fPIC"
|
|
|
|
|
}
|