Merge pull request #1198 from lrusak/docker-libreelec-7.0

tini: fix cmake build
This commit is contained in:
Christian Hewitt 2017-01-21 11:26:37 +04:00 committed by GitHub
commit 8d37f66f71

View File

@ -31,14 +31,17 @@ PKG_LONGDESC="Tini is the simplest init you could think of"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CMAKE_TARGET_OPTS="-DMINIMAL=ON"
PKG_MAKE_TARGET_OPTS="tini-static"
pre_configure_target(){
sed -i "s|@tini_VERSION_GIT@| - git.${PKG_VERSION}|" $ROOT/$PKG_BUILD/src/tiniConfig.h.in
}
configure_target() {
cmake -DMINIMAL=ON \
..
}
makeinstall_target() {
:
}