milis/talimatname/genel/i/iperf/talimat

29 lines
656 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Maksimum TCP bant genişliğini ölçmek için bir araç
# URL: https://sourceforge.net/projects/iperf2/
# Paketçi: Cihan_Alkan
# Gerekler:
# Grup: ağ
isim=iperf
surum=2.0.10
devir=1
kaynak=(http://downloads.sourceforge.net/iperf2/iperf-$surum.tar.gz)
derle() {
cd $isim-$surum
# kaynak diziden yama uygulayın
local filename
for filename in "${source[@]}"; do
if [[ "$filename" =~ \.patch$ ]]; then
patch -p1 -N -i "$SRC/${filename##*/}"
fi
done
:
./configure --prefix=/usr \
--enable-ipv6 \
--enable-multicast \
--enable-threads
make
make DESTDIR="$PKG" install
}