buildscripts/socat.sh
2023-12-03 23:10:57 +01:00

14 lines
No EOL
328 B
Bash
Executable file

#!/bin/bash
set -e
wget -c https://code.teampandory.com/thirdparty/socat/-/archive/tag-1.7.4.4/socat-tag-1.7.4.4.tar.gz
tar xvf socat-tag-1.7.4.4.tar.gz
cd socat-tag-1.7.4.4
export CC="$xCC"
export CFLAGS="-O3"
export CXXFLAGS="-O3"
autoconf
./configure --prefix="$PREFIX" --host="$xHOST"
make socat
cp -fv socat "$PREFIX/bin"