wok-6.x annotate tcpdump/receipt @ rev 25088

modified recipe for lightdm
author Hans-G?nter Theisgen
date Sat Jun 18 09:31:48 2022 +0100 (2022-06-18)
parents 2448da3bb9c5
children
rev   line source
sdaigl@48 1 # SliTaz package receipt.
sdaigl@48 2
sdaigl@48 3 PACKAGE="tcpdump"
Hans-G?nter@22013 4 VERSION="4.9.3"
sdaigl@48 5 CATEGORY="security"
Hans-G?nter@22013 6 TAGS="network security"
Hans-G?nter@22013 7 SHORT_DESC="A network traffic monitoring tool."
pascal@1065 8 MAINTAINER="sdaigl@lacitec.on.ca"
pascal@15133 9 LICENSE="BSD"
Hans-G?nter@22013 10 WEB_SITE="https://www.tcpdump.org/"
Hans-G?nter@22013 11
sdaigl@48 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22013 13 WGET_URL="${WEB_SITE}release/$TARBALL"
sdaigl@48 14
Hans-G?nter@22013 15 DEPENDS="libcrypto libpcap openssl"
pascal@15325 16 BUILD_DEPENDS="libpcap libpcap-dev openssl-dev"
pascal@10460 17
pascal@24425 18 # What is the latest version available today?
pascal@24425 19 current_version()
pascal@24425 20 {
pascal@24425 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 22 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 23 }
pascal@24425 24
sdaigl@48 25 # Rules to configure and make the package.
sdaigl@48 26 compile_rules()
sdaigl@48 27 {
Hans-G?nter@22013 28 ./configure \
Hans-G?nter@22013 29 --prefix=/usr \
Hans-G?nter@22013 30 --infodir=/usr/share/info \
Hans-G?nter@22013 31 --mandir=/usr/share/man \
Hans-G?nter@22013 32 $CONFIGURE_ARGS &&
Hans-G?nter@22013 33 make &&
pascal@15133 34 make DESTDIR=$DESTDIR install
sdaigl@48 35 }
sdaigl@48 36
sdaigl@48 37 # Rules to gen a SliTaz package suitable for Tazpkg.
sdaigl@48 38 genpkg_rules()
sdaigl@48 39 {
pankso@169 40 mkdir -p $fs/usr
pascal@15133 41 cp -a $install/usr/sbin $fs/usr
sdaigl@48 42 }