25 lines
737 B
Bash
25 lines
737 B
Bash
# Template file for 'yersinia'
|
|
pkgname=yersinia
|
|
version=0.8.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-gtk"
|
|
hostmakedepends="pkg-config automake"
|
|
makedepends="libpcap-devel libnet-devel ncurses-devel gettext-devel"
|
|
short_desc="Framework for layer 2 security testing"
|
|
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/tomac/yersinia"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f
|
|
patch_args=-Np0
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" ${makedepends}"
|
|
fi
|
|
|
|
post_configure() {
|
|
# configure doesn't honor env CFLAGS
|
|
vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
|
|
}
|