wok-next diff fatattr/receipt @ rev 20473

Tiny edits...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 16:57:21 2018 +0200 (2018-03-10)
parents 7bb096863642
children a3c581bf52b8
line diff
     1.1 --- a/fatattr/receipt	Sat Sep 14 17:06:00 2013 +0000
     1.2 +++ b/fatattr/receipt	Sat Mar 10 16:57:21 2018 +0200
     1.3 @@ -1,28 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fatattr"
     1.8  VERSION="1.0"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="Handle fat attributes."
    1.11 +SHORT_DESC="Handle FAT attributes"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.kernel.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.kernel.org/"
    1.18  WGET_URL="http://www.eu.kernel.org/pub/linux/utils/fs/fat/$PACKAGE/$TARBALL"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	cd $src
    1.24 -	./configure
    1.25 -	make
    1.26 -} 
    1.27 +compile_rules() {
    1.28 +	./configure &&
    1.29 +	make || return 1
    1.30  
    1.31 +	install -Dm755 $src/fatattr      $install/usr/bin/fatattr
    1.32 +	install -Dm755 $stuff/fatattr.sh $install/usr/bin/fatattr.sh
    1.33 +}
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/bin
    1.39 -	cp $src/fatattr $fs/usr/bin
    1.40 -	cp $stuff/fatattr.sh $fs/usr/bin
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43  }