mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
create_addon: use 7zip for addon.zip creation
This commit is contained in:
parent
32406a7410
commit
6b5ebac327
@ -30,10 +30,19 @@ PKG_SHORTDESC="p7zip is a port of 7za.exe for POSIX systems like Unix"
|
||||
PKG_LONGDESC="p7zip is a port of 7za.exe for POSIX systems like Unix"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_host() {
|
||||
make TARGET_CXX=$CXX TARGET_CC=$CC 7za
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make TARGET_CXX=$CXX TARGET_CC=$CC 7z 7za
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p $TOOLCHAIN/bin
|
||||
cp bin/7za $TOOLCHAIN/bin
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libreelec.tv"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_TARGET="configtools:host make:host xz:host sed:host pkg-config:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host xmlstarlet:host yasm:host"
|
||||
PKG_DEPENDS_TARGET="configtools:host make:host xz:host sed:host pkg-config:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host xmlstarlet:host yasm:host p7zip:host"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_SHORTDESC="toolchain: LibreELEC.tv' toolchain"
|
||||
PKG_LONGDESC="a crosscompiling toolchain to compile all packages"
|
||||
|
@ -57,7 +57,7 @@ pack_addon() {
|
||||
fi
|
||||
cd $ADDON_BUILD
|
||||
echo "*** compressing Addon $PKG_ADDON_ID ... ***"
|
||||
zip -rq $PKG_ADDON_ID-$ADDONVER.zip $PKG_ADDON_ID;
|
||||
$TOOLCHAIN/bin/7za a -l -mx9 -bsp0 -bso0 -tzip $PKG_ADDON_ID-$ADDONVER.zip $PKG_ADDON_ID
|
||||
cd - &>/dev/null
|
||||
|
||||
mkdir -p $ADDON_INSTALL_DIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user