diff --git a/packages/compress/zstd/package.mk b/packages/compress/zstd/package.mk new file mode 100644 index 0000000000..0266d60b71 --- /dev/null +++ b/packages/compress/zstd/package.mk @@ -0,0 +1,34 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2017-present Team LibreELEC +# +# LibreELEC 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. +# +# LibreELEC 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 LibreELEC. If not, see . +################################################################################ + +PKG_NAME="zstd" +PKG_VERSION="1.3.1" +PKG_SHA256="312fb9dc75668addbc9c8f33c7fa198b0fc965c576386b8451397e06256eadc6" +PKG_ARCH="any" +PKG_LICENSE="BSD/GPLv2" +PKG_SITE="http://www.zstd.net" +PKG_URL="https://github.com/facebook/zstd/archive/v${PKG_VERSION}.tar.gz" +PKG_SOURCE_DIR=$PKG_NAME-$PKG_VERSION +PKG_DEPENDS_TARGET="toolchain" +PKG_SECTION="compress" +PKG_SHORTDESC="fast real-time compression algorithm" + +PKG_AUTORECONF="no" + +PKG_CMAKE_SCRIPT="$PKG_BUILD/build/cmake/CMakeLists.txt" +PKG_CMAKE_OPTS_HOST="-DTHREADS_PTHREAD_ARG=0"