milis/talimatname/genel/e/ettercap/talimat

20 lines
601 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ethernet LAN'lar için bir ağ algılayıcı/durdurucu/günlükleyici
2016-07-28 13:02:28 +02:00
# URL: http://ettercap.github.com/ettercap/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libpcap pcre libnet ethtool ghostscript cmake gtk2
2016-07-28 13:02:28 +02:00
2017-10-28 14:10:23 +02:00
isim=ettercap
surum=0.8.2
devir=1
kaynak=(https://github.com/Ettercap/ettercap/archive/v$surum.tar.gz)
2016-07-28 13:02:28 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cp $DERLEME_KAYNAKDIZIN/v$surum.tar.gz $DERLEME_KAYNAKDIZIN/$isim-$surum.tar.gz
cd $SRC/$isim-$surum
2016-07-28 13:02:28 +02:00
mkdir build
cd build
cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ../
make
make DESTDIR=$PKG install
}