wok annotate chkrootkit/receipt @ rev 8782
Up: slitaz-base-files (4.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 20:51:00 2011 +0100 (2011-02-22) |
parents | fd4eda949f1e |
children | cbfb348cb173 |
rev | line source |
---|---|
pascal@1343 | 1 # SliTaz package receipt. |
pascal@1343 | 2 |
pascal@1343 | 3 PACKAGE="chkrootkit" |
pascal@5787 | 4 VERSION="0.49" |
pascal@1343 | 5 CATEGORY="system-tools" |
pascal@1343 | 6 SHORT_DESC="Locally checks for signs of a rootkit." |
pascal@1343 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5787 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1343 | 9 WEB_SITE="http://www.chkrootkit.org/" |
pascal@1343 | 10 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL" |
pascal@1343 | 11 |
pascal@1343 | 12 # Rules to configure and make the package. |
pascal@1343 | 13 compile_rules() |
pascal@1343 | 14 { |
pascal@1343 | 15 cd $src |
pascal@1454 | 16 [ -f done.chkrootkit.u ] || patch -p1 < ../stuff/chkrootkit.u |
pascal@1454 | 17 touch done.chkrootkit.u |
pascal@1343 | 18 make sense |
pascal@1343 | 19 } |
pascal@1343 | 20 |
pascal@1343 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1343 | 22 genpkg_rules() |
pascal@1343 | 23 { |
pascal@1343 | 24 mkdir -p $fs/usr/share/chkrootkit |
pascal@1343 | 25 for i in $(cd $src ; ls); do |
pascal@1343 | 26 case "$i" in |
pascal@1343 | 27 README*) cp $src/$i $fs/usr/share/chkrootkit;; |
pascal@1343 | 28 Makefile|*.*);; |
pascal@1343 | 29 *) cp $src/$i $fs/usr/share/chkrootkit;; |
pascal@1343 | 30 esac |
pascal@1343 | 31 done |
pascal@1343 | 32 } |
pascal@1343 | 33 |