wok-next annotate foremost/receipt @ rev 16700
Up: slitaz-base-files (5.6.3): fix bug with installing coreutils-line package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 26 16:03:09 2014 +0300 (2014-05-26) |
parents | ac46c58abb97 |
children | e1c0edabdcb2 |
rev | line source |
---|---|
pascal@4477 | 1 # SliTaz package receipt. |
pascal@4477 | 2 |
pascal@4477 | 3 PACKAGE="foremost" |
slaxemulator@6580 | 4 VERSION="1.5.7" |
pascal@4477 | 5 CATEGORY="system-tools" |
pascal@4477 | 6 SHORT_DESC="Data carving utility." |
pascal@4477 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="PublicDomain" |
pascal@4477 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4477 | 10 WEB_SITE="http://foremost.sourceforge.net" |
pascal@4477 | 11 WGET_URL="$WEB_SITE/pkg/$TARBALL" |
pascal@4477 | 12 |
pascal@4477 | 13 # Rules to configure and make the package. |
pascal@4477 | 14 compile_rules() |
pascal@4477 | 15 { |
ernia@13902 | 16 cd $src |
ernia@13902 | 17 sed -i 's/\/usr\/local\/etc/\/etc/' config.c |
ernia@13902 | 18 make |
pascal@4477 | 19 } |
pascal@4477 | 20 |
pascal@4477 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4477 | 22 genpkg_rules() |
pascal@4477 | 23 { |
pascal@4477 | 24 mkdir -p $fs/usr/bin $fs/etc |
pascal@4477 | 25 cp -a $src/foremost $fs/usr/bin |
pascal@4477 | 26 cp -a $src/foremost.conf $fs/etc |
pascal@4477 | 27 } |
pascal@4477 | 28 |