diff --git a/srcpkgs/n2n/template b/srcpkgs/n2n/template new file mode 100644 index 00000000000..689421215b0 --- /dev/null +++ b/srcpkgs/n2n/template @@ -0,0 +1,19 @@ +# Template file for 'n2n' +pkgname=n2n +version=3.0 +revision=1 +build_style=gnu-configure +configure_args=CFLAGS="-O3" # No justification? +hostmakedepends="autoconf automake pkg-config" +short_desc="Light VPN software" +maintainer="Petr Cizmar " +license="GPL-3.0-only" +homepage="https://github.com/ntop/n2n" +changelog="https://raw.githubusercontent.com/ntop/n2n/dev/CHANGELOG.md" +distfiles="https://github.com/ntop/n2n/archive/refs/tags/${version}.tar.gz" +checksum=25fcabba7bfcf25f4c9cd7fecc7ce11de48beb0b0f3506053d8485604ea8f50d + +pre_configure() { + vsed -i 's|/sbin|/bin|g' Makefile.in + ./autogen.sh +}