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