void-packages/srcpkgs/slirp4netns/template

20 lines
693 B
Bash

# Template file for 'slirp4netns'
pkgname=slirp4netns
version=1.2.3
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=acce648fab8fe5f113c41a8fd6d20177708519b4ddaa60f845e1998a17b22ca5
# tests fail due to use of unshare (unavailable with chroot util-linux)
make_check=no
pre_configure() {
./autogen.sh
}