# Template file for 'socat'
pkgname=socat
version=1.7.3.2
revision=4
build_style=gnu-configure
configure_args="--disable-libwrap --enable-fips
 ac_cv_have_z_modifier=yes sc_cv_sys_crdly_shift=9
 sc_cv_sys_tabdly_shift=11 sc_cv_sys_csize_shift=4
 ac_cv_ispeed_offset=13"
makedepends="readline-devel libressl-devel"
short_desc="Relay for bidirectional data transfer between two independent channels"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.dest-unreach.org/socat/"
distfiles="http://www.dest-unreach.org/socat/download/socat-$version.tar.bz2"
checksum=e3561f808739383eb10fada1e5d4f26883f0311b34fd0af7837d0c95ef379251

case "$XBPS_TARGET_MACHINE" in
	*-musl) CFLAGS="-D_LINUX_IF_ETHER_H";;
esac
