milis/talimatname/genel/l/libtins/talimat

21 lines
564 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
name=libtins
version=3.5
release=1
source=(https://github.com/mfontanini/libtins/archive/v$version.tar.gz::$name-$version.tar.gz)
build() {
cd "${SRC}/libtins-${version}"
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/${name}/LICENSE"
rm -R "${PKG}/usr/CMake/"
}