wok-next diff beep/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a5b865e166cd
children 630675d12685
line diff
     1.1 --- a/beep/receipt	Tue Jul 05 19:21:55 2016 +0300
     1.2 +++ b/beep/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,31 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="beep"
     1.8  VERSION="1.3"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Advanced pc-speaker beeper."
    1.11 +SHORT_DESC="Advanced PC-speaker beeper"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.johnath.com/beep/README"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://www.johnath.com/beep/$TARBALL"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 -	make
    1.23 +compile_rules() {
    1.24 +	make || return 1
    1.25  
    1.26 +	install -Dm755 beep $install/usr/bin/beep
    1.27  	cook_pick_manpages beep.1.gz
    1.28  }
    1.29  
    1.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 -genpkg_rules()
    1.32 -{
    1.33 -	mkdir -p $fs/usr/bin
    1.34 -	cp -a $src/beep $fs/usr/bin
    1.35 +genpkg_rules() {
    1.36 +	copy @std
    1.37  }
    1.38  
    1.39 -post_remove()
    1.40 -{
    1.41 +post_remove() {
    1.42  	ln -s /bin/busybox "$1/usr/bin/beep"
    1.43  }