31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Template file for 'podman'
|
|
pkgname=podman
|
|
version=1.9.3
|
|
revision=1
|
|
wrksrc="libpod-${version}"
|
|
build_style=go
|
|
go_import_path="github.com/containers/libpod"
|
|
go_package="${go_import_path}/cmd/podman"
|
|
go_build_tags="seccomp apparmor containers_image_ostree_stub
|
|
btrfs_noversion exclude_graphdriver_btrfs"
|
|
hostmakedepends="pkg-config go-md2man"
|
|
makedepends="gpgme-devel libseccomp-devel device-mapper-devel"
|
|
depends="runc conmon cni-plugins slirp4netns containers.image"
|
|
short_desc="Simple management tool for containers and images"
|
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://podman.io/"
|
|
distfiles="https://github.com/containers/libpod/archive/v${version}.tar.gz"
|
|
checksum=2c44c6e5f61578e223dce2a2f48776adb553752a782e309e96f2d608e0ace81b
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
go_build_tags+=" containers_image_openpgp"
|
|
fi
|
|
|
|
post_install() {
|
|
make install.man DESTDIR="${DESTDIR}" PREFIX="/usr"
|
|
make install.cni DESTDIR="${DESTDIR}"
|
|
make install.completions DESTDIR="${DESTDIR}" PREFIX="/usr"
|
|
sed 's|cgroup_manager = "systemd"|cgroup_manager = "cgroupfs"|g' libpod.conf >libpod.cgfs.conf
|
|
vinstall libpod.cgfs.conf 644 etc/containers libpod.conf
|
|
}
|