27 lines
864 B
Bash
27 lines
864 B
Bash
# Template file for 'catatonit'
|
|
pkgname=catatonit
|
|
version=0.1.7
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Container init that is so simple it's effectively brain-dead"
|
|
maintainer="Justin Bronder <jsbronder@cold-front.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/openSUSE/catatonit"
|
|
distfiles="https://github.com/openSUSE/catatonit/releases/download/v${version}/catatonit.tar.xz"
|
|
checksum=6ea6cb8c7feeca2cf101e7f794dab6eeb192cde177ecc7714d2939655d3d8997
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/libexec/catatonit
|
|
vinstall catatonit 0755 usr/libexec/catatonit
|
|
|
|
# Following suit with Fedora/Ubuntu, podman-run will default to looking
|
|
# for catatonit here when passed the "--init" argument
|
|
vmkdir usr/libexec/podman
|
|
ln -sf ../catatonit/catatonit "${DESTDIR}/usr/libexec/podman"
|
|
}
|