mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
tini: fix cmake build
This commit is contained in:
parent
b2e811fc4a
commit
b6e4c05bd8
@ -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