61ab263589
[ci skip]
23 lines
721 B
Bash
23 lines
721 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
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" ${makedepends}"
|
|
fi
|
|
|
|
post_configure() {
|
|
# configure doesn't honor env CFLAGS
|
|
vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/'
|
|
}
|