void-packages/srcpkgs/slirp4netns/template

20 lines
693 B
Bash

# Template file for 'slirp4netns'
pkgname=slirp4netns
version=1.2.0
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake pkg-config"
makedepends="libslirp-devel libseccomp-devel libcap-devel"
short_desc="User-mode networking for unprivileged network namespaces"
maintainer="Cameron Nemo <cam@nohom.org>"
license="GPL-2.0-only"
homepage="https://github.com/rootless-containers/slirp4netns"
distfiles="https://github.com/rootless-containers/slirp4netns/archive/v${version}.tar.gz"
checksum=b584edde686d3cfbac210cbdb93c4b0ba5d8cc0a6a4d92b9dfc3c5baec99c727
# tests fail due to use of unshare (unavailable with chroot util-linux)
make_check=no
pre_configure() {
./autogen.sh
}