diff --git a/packages/compress/minizip/package.mk b/packages/compress/minizip/package.mk new file mode 100644 index 0000000000..61994ecb54 --- /dev/null +++ b/packages/compress/minizip/package.mk @@ -0,0 +1,37 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016 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="minizip" +PKG_VERSION="1.1" +PKG_SHA256="5666b5ee3e85dfd2dd119970613c12e6267d31813f07d3ffa5d359fe272cb6d1" +PKG_ARCH="any" +PKG_LICENSE="zlib" +PKG_SITE="https://github.com/nmoinvaz/minizip" +PKG_URL="https://github.com/nmoinvaz/minizip/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="zlib" +PKG_SECTION="compress" +PKG_SHORTDESC="Minizip zlib contribution fork with latest bug fixes" +PKG_LONGDESC="Minizip zlib contribution fork with latest bug fixes" + +PKG_CMAKE_OPTS_TARGET="-DUSE_AES=OFF \ + -DBUILD_TEST=ON" + +makeinstall_target() { + cp -v miniunz_exec $SYSROOT_PREFIX/usr/bin/miniunz + cp -v minizip_exec $SYSROOT_PREFIX/usr/bin/minizip +}