tini: fix cmake build

This commit is contained in:
Lukas Rusak 2017-01-20 23:17:41 -08:00
parent b2e811fc4a
commit b6e4c05bd8
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

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() {
:
}