diff --git a/packages/mediacenter/JsonSchemaBuilder/package.mk b/packages/mediacenter/JsonSchemaBuilder/package.mk new file mode 100644 index 0000000000..9fdfa25618 --- /dev/null +++ b/packages/mediacenter/JsonSchemaBuilder/package.mk @@ -0,0 +1,46 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) +# +# 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 . +################################################################################ + +PKG_NAME="JsonSchemaBuilder" +PKG_VERSION="0" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.kodi.tv" +PKG_URL="" +PKG_NEED_UNPACK="$ROOT/packages/mediacenter/kodi/package.mk" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="kodi-platform:" +PKG_LONGDESC="kodi-platform:" + +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" + +PKG_CMAKE_SCRIPT="$(get_build_dir kodi)/tools/depends/native/JsonSchemaBuilder/CMakeLists.txt" + +PKG_CMAKE_OPTS_HOST="-Wno-dev" + +pre_build_host() { + $SCRIPTS/clean $PKG_NAME +} + +makeinstall_host() { + mkdir -p $ROOT/$TOOLCHAIN/bin + cp JsonSchemaBuilder $ROOT/$TOOLCHAIN/bin +}