wok-6.x annotate foremost/receipt @ rev 21572

tmate: inserted some environment variables in recipe
author Hans-G?nter Theisgen
date Sat May 18 17:29:21 2019 +0100 (2019-05-18)
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