wok-next diff foremost/receipt @ rev 20935

Update xorg
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 24 15:29:24 2018 +0300 (2018-08-24)
parents 3b4e4318134e
children d5aab818505e
line diff
     1.1 --- a/foremost/receipt	Tue Dec 03 18:28:51 2013 +0000
     1.2 +++ b/foremost/receipt	Fri Aug 24 15:29:24 2018 +0300
     1.3 @@ -1,28 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="foremost"
     1.8  VERSION="1.5.7"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Data carving utility."
    1.11 +SHORT_DESC="Data carving utility"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="PublicDomain"
    1.14 +WEB_SITE="http://foremost.sourceforge.net"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://foremost.sourceforge.net"
    1.18  WGET_URL="$WEB_SITE/pkg/$TARBALL"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	cd $src
    1.24 +compile_rules() {
    1.25  	sed -i 's/\/usr\/local\/etc/\/etc/' config.c
    1.26 -	make
    1.27 +	make || return 1
    1.28 +
    1.29 +	install -Dm755 $src/foremost      $install/usr/bin/foremost
    1.30 +	install -Dm644 $src/foremost.conf $install/etc/foremost.conf
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	mkdir -p $fs/usr/bin $fs/etc
    1.37 -	cp -a $src/foremost $fs/usr/bin
    1.38 -	cp -a $src/foremost.conf $fs/etc
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41  }
    1.42 -