wok-6.x annotate foremost/receipt @ rev 14962
Up: firefox-dev (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:19:40 2013 +0200 (2013-08-08) |
parents | 20fb04e6e666 |
children | 3b4e4318134e |
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@4477 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4477 | 9 WEB_SITE="http://foremost.sourceforge.net" |
pascal@4477 | 10 WGET_URL="$WEB_SITE/pkg/$TARBALL" |
pascal@4477 | 11 |
pascal@4477 | 12 # Rules to configure and make the package. |
pascal@4477 | 13 compile_rules() |
pascal@4477 | 14 { |
ernia@13902 | 15 cd $src |
ernia@13902 | 16 sed -i 's/\/usr\/local\/etc/\/etc/' config.c |
ernia@13902 | 17 make |
pascal@4477 | 18 } |
pascal@4477 | 19 |
pascal@4477 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4477 | 21 genpkg_rules() |
pascal@4477 | 22 { |
pascal@4477 | 23 mkdir -p $fs/usr/bin $fs/etc |
pascal@4477 | 24 cp -a $src/foremost $fs/usr/bin |
pascal@4477 | 25 cp -a $src/foremost.conf $fs/etc |
pascal@4477 | 26 } |
pascal@4477 | 27 |