18 lines
534 B
Bash
18 lines
534 B
Bash
|
# Template file for 'tini'
|
||
|
pkgname=tini
|
||
|
version=0.19.0
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
short_desc="Tiny but valid init for containers"
|
||
|
maintainer="PWA COLLECTIVE <pwa@cya.cx>"
|
||
|
license="MIT"
|
||
|
homepage="https://github.com/krallin/tini"
|
||
|
distfiles="https://github.com/krallin/tini/archive/refs/tags/v$version.tar.gz"
|
||
|
checksum=0fd35a7030052acd9f58948d1d900fe1e432ee37103c5561554408bdac6bbf0d
|
||
|
CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37"
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
ln -s tini-static $DESTDIR/usr/bin/docker-init
|
||
|
}
|