wok-6.x annotate unhide/receipt @ rev 16284

ARM: make nfs-utils cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 06 20:48:48 2014 +0200 (2014-04-06)
parents
children ab5565177ad5
rev   line source
pascal@15888 1 # SliTaz package receipt.
pascal@15888 2
pascal@15888 3 PACKAGE="unhide"
pascal@15888 4 VERSION="20121229"
pascal@15888 5 CATEGORY="security"
pascal@15888 6 SHORT_DESC="Forensic tool to find hidden processes and TCP/UDP ports."
pascal@15888 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15888 8 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@15888 9 LICENSE="GPL3"
pascal@15888 10 WEB_SITE="http://www.unhide-forensics.info/?Linux"
pascal@15888 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15888 12
pascal@15888 13 DEPENDS=""
pascal@15888 14 BUILD_DEPENDS=""
pascal@15888 15
pascal@15888 16 # Rules to configure and make the package.
pascal@15888 17 compile_rules()
pascal@15888 18 {
pascal@15888 19 CC="gcc -Wall -O2 --static"
pascal@15888 20 $CC -pthread unhide-linux*.c unhide-output.c -o unhide
pascal@15888 21 $CC unhide_rb.c -o unhide_rb
pascal@15888 22 $CC unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
pascal@15888 23 }
pascal@15888 24
pascal@15888 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15888 26 genpkg_rules()
pascal@15888 27 {
pascal@15888 28 mkdir -p $fs/usr/sbin
pascal@15888 29 cp -a $src/unhide $fs/usr/sbin
pascal@15888 30 cp -a $src/unhide_rb $fs/usr/sbin
pascal@15888 31 cp -a $src/unhide-tcp $fs/usr/sbin
pascal@15888 32 }