Package-Manager: portage-2.3.2
inherit cmake-utils flag-o-matic
DESCRIPTION="A tiny but valid init for containers"
-HOMEPAGE="https://github.com/krallin/${PN}"
+HOMEPAGE="https://github.com/krallin/tini"
SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
# vim-core is needed just for the xxd program
DEPEND="app-editors/vim-core"
+src_prepare() {
+ default
+ # Do not strip binary
+ sed -i -e 's/-Wl,-s")$/")/' CMakeLists.txt || die
+}
+
src_configure() {
local mycmakeargs=()
use args || mycmakeargs+=(-DMINIMAL=ON)