wok view foremost/receipt @ rev 23625

gnaughty: update genpkg_rules
author Richard Dunbar <mojo@slitaz.org>
date Wed Apr 15 09:37:15 2020 -0400 (2020-04-15)
parents ac46c58abb97
children bfabe25c21ff
line source
1 # SliTaz package receipt.
3 PACKAGE="foremost"
4 VERSION="1.5.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data carving utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://foremost.sourceforge.net"
11 WGET_URL="$WEB_SITE/pkg/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/\/usr\/local\/etc/\/etc/' config.c
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin $fs/etc
25 cp -a $src/foremost $fs/usr/bin
26 cp -a $src/foremost.conf $fs/etc
27 }