wok-next diff foremost/receipt @ rev 20839

p11-kit: upgrade 0.23.8 (2017 Aug) -> 0.23.12
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 20 07:32:40 2018 +0000 (2018-06-20)
parents 3b4e4318134e
children d5aab818505e
line diff
     1.1 --- a/foremost/receipt	Tue Dec 03 18:28:51 2013 +0000
     1.2 +++ b/foremost/receipt	Wed Jun 20 07:32:40 2018 +0000
     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 -