wok annotate p0f/receipt @ rev 12695

linux-arm-api-headers: All ARM cross tools/files in /usr/cross/arm
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 03 01:25:06 2012 +0200 (2012-05-03)
parents 1e92219b174c
children 51a1ebbda768
rev   line source
slaxemulator@10259 1 # SliTaz package receipt.
slaxemulator@10259 2
slaxemulator@10259 3 PACKAGE="p0f"
pascal@11601 4 VERSION="3.01b"
slaxemulator@10259 5 CATEGORY="network"
slaxemulator@10259 6 SHORT_DESC="passive OS fingerprinting tool"
slaxemulator@10259 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@10259 8 BUILD_DEPENDS="libpcap-dev"
slaxemulator@10259 9 TARBALL="$PACKAGE-$VERSION.tgz"
slaxemulator@10259 10 WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml"
pascal@11601 11 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL"
slaxemulator@10259 12
slaxemulator@10259 13 # Rules to configure and make the package.
slaxemulator@10259 14 compile_rules()
slaxemulator@10259 15 {
slaxemulator@10259 16 cd $src
pascal@11601 17 make && cd tools && make
slaxemulator@10259 18 }
slaxemulator@10259 19
slaxemulator@10259 20 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10259 21 genpkg_rules()
slaxemulator@10259 22 {
slaxemulator@10259 23 mkdir -p $fs/usr/sbin $fs/etc/p0f
pascal@11601 24 install -m744 $src/p0f $src/tools/p0f-client $src/tools/p0f-sendsyn \
pascal@11601 25 $src/tools/p0f-sendsyn6 $fs/usr/sbin
pascal@11601 26 install -m644 $src/p0f.fp $fs/etc/p0f
slaxemulator@10259 27 }
slaxemulator@10259 28