wok annotate foremost/receipt @ rev 19658
Up cookutils (872)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 27 13:17:25 2017 +0200 (2017-01-27) |
parents | ac46c58abb97 |
children | bfabe25c21ff |
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 |