wok-next view p0f/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents 51a1ebbda768
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="p0f"
4 VERSION="3.01b"
5 CATEGORY="network"
6 SHORT_DESC="Passive OS fingerprinting tool"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL"
9 WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL"
14 BUILD_DEPENDS="libpcap-dev"
16 compile_rules() {
17 make &&
18 cd tools && make || return 1
20 mkdir -p \
21 $install/usr/sbin/ \
22 $install/etc/p0f/
23 install -m744 \
24 $src/p0f \
25 $src/tools/p0f-client \
26 $src/tools/p0f-sendsyn \
27 $src/tools/p0f-sendsyn6 \
28 $install/usr/sbin/
29 install -m644 $src/p0f.fp $install/etc/p0f/
30 }
32 genpkg_rules() {
33 copy @std
34 }