mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +00:00
Merge pull request #1198 from lrusak/docker-libreelec-7.0
tini: fix cmake build
This commit is contained in:
commit
8d37f66f71
@ -31,14 +31,17 @@ PKG_LONGDESC="Tini is the simplest init you could think of"
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
PKG_CMAKE_TARGET_OPTS="-DMINIMAL=ON"
|
|
||||||
|
|
||||||
PKG_MAKE_TARGET_OPTS="tini-static"
|
PKG_MAKE_TARGET_OPTS="tini-static"
|
||||||
|
|
||||||
pre_configure_target(){
|
pre_configure_target(){
|
||||||
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" $ROOT/$PKG_BUILD/src/tiniConfig.h.in
|
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" $ROOT/$PKG_BUILD/src/tiniConfig.h.in
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configure_target() {
|
||||||
|
cmake -DMINIMAL=ON \
|
||||||
|
..
|
||||||
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user