void-packages/srcpkgs/n2n/template

20 lines
614 B
Bash

# 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 <xxb0322@xpc.ovh>"
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
}