wireshark: fixing crossbuild
This commit is contained in:
parent
c8ce0ef90f
commit
75e19f0d02
1 changed files with 10 additions and 3 deletions
|
@ -9,8 +9,9 @@ configure_args=" --with-ssl \
|
|||
--with-zlib \
|
||||
--with-lua \
|
||||
--with-krb5 \
|
||||
--without-portaudio"
|
||||
hostmakedepends="pkg-config bison flex perl"
|
||||
--without-portaudio \
|
||||
CC_FOR_BUILD=cc"
|
||||
hostmakedepends="pkg-config bison flex perl mit-krb5-devel libtool"
|
||||
makedepends="libpcap-devel zlib-devel lua-devel libcap-devel mit-krb5-devel gtk+-devel"
|
||||
depends="libcap-progs"
|
||||
short_desc="A graphical network protocol analyzer for Unix/Linux"
|
||||
|
@ -20,7 +21,13 @@ license="GPL-2"
|
|||
distfiles="http://www.wireshark.org/download/src/${pkgname}-${version}.tar.bz2"
|
||||
checksum=d98d263b31dd904a0337ba2db6d1a80bb495b4ac419a304f0f25c551d50cafc6
|
||||
system_groups="wireshark"
|
||||
only_for_archs="i686 x86_64"
|
||||
|
||||
pre_configure() {
|
||||
libtoolize -f
|
||||
sed -i \
|
||||
-e "s/^LIBS = .*/\0 -ldl/" \
|
||||
`find -name Makefile.in`
|
||||
}
|
||||
|
||||
post_install() {
|
||||
local _includeDir=usr/include/wireshark
|
||||
|
|
Loading…
Reference in a new issue