milis/talimatname/genel/l/libtins/talimat

21 lines
554 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Yüksek seviye ağ paket koklama ve işleme c++ kütüphanesi
2017-10-18 03:21:00 +02:00
# URL: http://libtins.github.io/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake libpcap
2017-10-18 03:21:00 +02:00
2017-10-28 14:10:23 +02:00
isim=libtins
surum=3.5
devir=1
kaynak=(https://github.com/mfontanini/libtins/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
2017-10-18 03:21:00 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "${SRC}/libtins-${surum}"
2017-10-18 03:21:00 +02:00
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D LIBTINS_ENABLE_CXX11=yes ../
make
make DESTDIR="${PKG}" install
2017-10-28 14:10:23 +02:00
install -Dm644 ../LICENSE "${PKG}/usr/share/licenses/${isim}/LICENSE"
2017-10-18 03:21:00 +02:00
rm -R "${PKG}/usr/CMake/"
}