2006-02-23 15:26:10 +00:00
|
|
|
# Description: Network Sniffer with nice GTK+ UI
|
|
|
|
# URL: http://www.ethereal.com
|
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
2006-04-08 15:21:33 +00:00
|
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: glib gtk libpcap
|
|
|
|
# Nice to have: libpcre
|
|
|
|
|
|
|
|
name=ethereal
|
2006-04-25 08:59:08 +00:00
|
|
|
version=0.99.0
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2006-04-25 08:59:08 +00:00
|
|
|
source=(ftp://ftp.uni-kl.de/pub/$name/$name-$version.tar.bz2)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2006-04-08 15:21:33 +00:00
|
|
|
build() {
|
2006-02-23 15:26:10 +00:00
|
|
|
cd $name-$version
|
|
|
|
export LDFLAGS="-L$PKG/usr/lib $LDFLAGS"
|
|
|
|
./configure --prefix=/usr --disable-nls --enable-snmp --enable-gtk2
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
sed -i -e "s|$PKG||g" -e "s|-L$SRC/$name-$version/epan||" \
|
|
|
|
$PKG/usr/lib/{,$name/plugins/$version}/*.la
|
|
|
|
|
|
|
|
# install some icons
|
|
|
|
install -d $PKG/usr/share/$name/pixmaps
|
|
|
|
install -m 644 \
|
|
|
|
image/{elogo3d48x48,hi??-app-ethereal,lo??-app-ethereal}.png \
|
|
|
|
$PKG/usr/share/$name/pixmaps
|
2006-04-08 15:21:33 +00:00
|
|
|
}
|