mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
buildsystem: clean up and cosmetics
This commit is contained in:
parent
cc94d58f27
commit
a029deb2f1
@ -52,7 +52,6 @@ SED="sed -i"
|
||||
PKG_SITE=""
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS=""
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION=""
|
||||
PKG_SHORTDESC="$1 (autogenerated)"
|
||||
|
@ -25,6 +25,11 @@ if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f $PKG_DIR/package.mk ]; then
|
||||
printf "${boldred} no package.mk file found in $PKG_DIR${endcolor}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set defaults
|
||||
PKG_CONFIGURE_SCRIPT=""
|
||||
PKG_MAKE_OPTS=""
|
||||
@ -48,11 +53,6 @@ STAMP=$STAMPS/$PACKAGE_NAME/build_$TARGET
|
||||
|
||||
$SCRIPTS/unpack $PACKAGE_NAME
|
||||
|
||||
if [ ! -f $PKG_DIR/package.mk ]; then
|
||||
printf "${boldred} no package.mk file found in $PKG_DIR${endcolor}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f $STAMP -a $PKG_DIR/package.mk -nt $STAMP ]; then
|
||||
rm -f $STAMP
|
||||
fi
|
||||
|
@ -25,15 +25,15 @@ if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
$SCRIPTS/get $1
|
||||
|
||||
STAMP=$PKG_BUILD/.openelec-unpack
|
||||
|
||||
if [ ! -f $PKG_DIR/package.mk ]; then
|
||||
printf "${boldred} no package.mk file found in $PKG_DIR${endcolor}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
$SCRIPTS/get $1
|
||||
|
||||
STAMP=$PKG_BUILD/.openelec-unpack
|
||||
|
||||
mkdir -p $BUILD
|
||||
|
||||
[ ! -d "$SOURCES/$1" -a ! -d "$PKG_DIR/sources" ] && exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user