wok view tcpdump/receipt @ rev 25576
Up nimrod (1.6.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 13 17:57:27 2023 +0000 (19 months ago) |
parents | 2448da3bb9c5 |
children | 6acd28d149b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpdump"
4 VERSION="4.9.3"
5 CATEGORY="security"
6 TAGS="network security"
7 SHORT_DESC="A network traffic monitoring tool."
8 MAINTAINER="sdaigl@lacitec.on.ca"
9 LICENSE="BSD"
10 WEB_SITE="https://www.tcpdump.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}release/$TARBALL"
15 DEPENDS="libcrypto libpcap openssl"
16 BUILD_DEPENDS="libpcap libpcap-dev openssl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/sbin $fs/usr
42 }