mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-28 11:00:38 +00:00
Merge pull request #432 from MilhouseVH/libreelec_unpack
build: start using .libreelec-unpack
This commit is contained in:
commit
f6d52c9bca
@ -30,8 +30,8 @@ clean_package() {
|
||||
fi
|
||||
|
||||
for i in $BUILD/$1-*; do
|
||||
if [ -d $i -a -f "$i/.openelec-unpack" ] ; then
|
||||
. "$i/.openelec-unpack"
|
||||
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
|
||||
. "$i/.libreelec-unpack"
|
||||
if [ "$STAMP_PKG_NAME" = "$1" ]; then
|
||||
printf "%${BUILD_INDENT}c ${boldred}*${endcolor} ${red}Removing $i ...${endcolor}\n" ' '>&$SILENT_OUT
|
||||
rm -rf $i
|
||||
|
@ -30,7 +30,7 @@ if [ ! -f $PKG_DIR/package.mk ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
STAMP=$PKG_BUILD/.openelec-unpack
|
||||
STAMP=$PKG_BUILD/.libreelec-unpack
|
||||
|
||||
if [ -f $STAMP ] ; then
|
||||
printf "%${BUILD_INDENT}c ${boldcyan}SKIP_UNPACK${endcolor} $1\n" ' '>&$SILENT_OUT
|
||||
|
@ -32,7 +32,7 @@ fi
|
||||
|
||||
$SCRIPTS/get $1
|
||||
|
||||
STAMP=$PKG_BUILD/.openelec-unpack
|
||||
STAMP=$PKG_BUILD/.libreelec-unpack
|
||||
|
||||
mkdir -p $BUILD
|
||||
|
||||
@ -41,8 +41,8 @@ mkdir -p $BUILD
|
||||
STAMP_DEPENDS="$PKG_DIR $PKG_NEED_UNPACK $PROJECT_DIR/$PROJECT/patches/$PKG_NAME"
|
||||
|
||||
for i in $BUILD/$1-*; do
|
||||
if [ -d $i -a -f "$i/.openelec-unpack" ] ; then
|
||||
. "$i/.openelec-unpack"
|
||||
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
|
||||
. "$i/.libreelec-unpack"
|
||||
if [ "$STAMP_PKG_NAME" = "$1" ]; then
|
||||
PKG_DEEPMD5=$(find $STAMP_DEPENDS -exec md5sum {} \; 2>/dev/null | sort | md5sum | cut -d" " -f1)
|
||||
if [ ! "$PKG_DEEPMD5" = "$STAMP_PKG_DEEPMD5" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user