Commit 88bc06d6 authored by Ed Reel's avatar Ed Reel

Change source url for sngrep

Change library location to pcap

Add pre-built binaries
parent 856d5858
......@@ -3,21 +3,29 @@ require 'package'
class Sngrep < Package
description 'An Ncurses SIP Messages flow viewer'
homepage 'https://github.com/irontec/sngrep'
version '1.4.6'
source_url 'https://github.com/irontec/sngrep/releases/download/v1.4.6/sngrep-1.4.6.tar.gz'
version '1.4.6-1'
source_url 'https://github.com/irontec/sngrep/archive/v1.4.6.tar.gz'
source_sha256 '638d6557dc68db401b07d73b2e7f8276800281f021fe0c942992566d6b59a48a'
depends_on 'libpcap'
depends_on 'pcre'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sngrep-1.4.6-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sngrep-1.4.6-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sngrep-1.4.6-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sngrep-1.4.6-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '09a6ad001c63ce4ac435c148e5bb6df64908b3e06f95520e268510aa89f8c13f',
armv7l: '09a6ad001c63ce4ac435c148e5bb6df64908b3e06f95520e268510aa89f8c13f',
i686: '9791803d412c9b0f3b25da9fc5c80483aa18262c6411f2eb1b7e636c1ca4c585',
x86_64: 'd370d8913abea954dc6420e2dae3d83373917e26935f58c66c38c59809fa275f',
})
def self.build
system 'AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 ./bootstrap.sh'
system "./configure CPPFLAGS=\"-I#{CREW_PREFIX}/include/ncursesw -I#{CREW_PREFIX}/include/libpcap\" \
system './bootstrap.sh'
system "./configure CPPFLAGS='-I#{CREW_PREFIX}/include/ncursesw -I#{CREW_PREFIX}/include/pcap' \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--with-openssl \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment