mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
unrar: build additional shared
This commit is contained in:
parent
57679410b3
commit
490c65f30f
@ -2,14 +2,15 @@
|
|||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="unrar"
|
PKG_NAME="unrar"
|
||||||
PKG_VERSION="5.6.3"
|
PKG_VERSION="5.6.8"
|
||||||
PKG_SHA256="c590e70a745d840ae9b9f05ba6c449438838c8280d76ce796a26b3fcd0a1972e"
|
PKG_SHA256="a4cc0ac14a354827751912d2af4a0a09e2c2129df5766576fa7e151791dd3dff"
|
||||||
PKG_LICENSE="free"
|
PKG_LICENSE="free"
|
||||||
PKG_SITE="http://www.rarlab.com"
|
PKG_SITE="http://www.rarlab.com"
|
||||||
PKG_URL="http://www.rarlab.com/rar/unrarsrc-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.rarlab.com/rar/unrarsrc-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS_TARGET="toolchain"
|
PKG_DEPENDS_TARGET="toolchain"
|
||||||
PKG_LONGDESC="unrar extract, test and view RAR archives"
|
PKG_LONGDESC="unrar extract, test and view RAR archives"
|
||||||
PKG_TOOLCHAIN="manual"
|
PKG_TOOLCHAIN="manual"
|
||||||
|
PKG_BUILD_FLAGS="+pic"
|
||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
make CXX="$CXX" \
|
make CXX="$CXX" \
|
||||||
@ -17,5 +18,17 @@ make_target() {
|
|||||||
RANLIB="$RANLIB" \
|
RANLIB="$RANLIB" \
|
||||||
AR="$AR" \
|
AR="$AR" \
|
||||||
STRIP="$STRIP" \
|
STRIP="$STRIP" \
|
||||||
-f makefile
|
-f makefile unrar
|
||||||
|
|
||||||
|
make clean
|
||||||
|
|
||||||
|
make CXX="$CXX" \
|
||||||
|
CXXFLAGS="$TARGET_CXXFLAGS" \
|
||||||
|
RANLIB="$RANLIB" \
|
||||||
|
AR="$AR" \
|
||||||
|
-f makefile lib
|
||||||
|
}
|
||||||
|
|
||||||
|
post_make_target() {
|
||||||
|
rm -f libunrar.so
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user