blob: bded0087488016dc1fa3d3dbc733f89c05832bb9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
shopt -s extglob
tar -zxvf "${PKG_DATA}/network_cmds-306.tar.gz"
cd network_cmds-306
for tproj in !(natd|spray).tproj; do
tproj=$(basename "${tproj}" .tproj)
arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/*.c -DPRIVATE -Dether_ntohost=_old_ether_ntohost
pkg:usrbin "${tproj}"
done
arm-apple-darwin-gcc -Ialias -o natd natd.tproj/*.c alias/*.c -DPRIVATE
pkg:usrbin natd
|