diff --git a/packages/addons/addon-depends/system-tools-depends/unrar/package.mk b/packages/addons/addon-depends/system-tools-depends/unrar/package.mk new file mode 100644 index 0000000000..e2a12a3895 --- /dev/null +++ b/packages/addons/addon-depends/system-tools-depends/unrar/package.mk @@ -0,0 +1,45 @@ +################################################################################ +# This file is part of LibreELEC - http://www.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="unrar" +PKG_VERSION="5.3.11" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="free" +PKG_SITE="http://www.rarlab.com" +PKG_URL="http://www.rarlab.com/rar/unrarsrc-$PKG_VERSION.tar.gz" +PKG_SOURCE_DIR="${PKG_NAME}" +PKG_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="tools" +PKG_SHORTDESC="unrar: Extract, test and view RAR archives" +PKG_LONGDESC="Unrar is a package to handle files compressed in the RAR format. Due to strange licensing issues this package can only view, test and extract files in a given archive, but not pack files. But since we have far more advanced open-source compression utils it should be enough to extract the content when you get a RAR archive." +PKG_AUTORECONF="no" + +make_target() { + make CXX="$TARGET_CXX" \ + CXXFLAGS="$TARGET_CXXFLAGS" \ + RANLIB="$TARGET_RANLIB" \ + AR="$TARGET_AR" \ + STRIP="$TARGET_STRIP" \ + -f makefile +} + +makeinstall_target() { + : # nop +}