wok-next diff xsnow/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 145bc1c732ca
children 5669e8b3be70
line diff
     1.1 --- a/xsnow/receipt	Mon Nov 06 00:09:37 2017 +0100
     1.2 +++ b/xsnow/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,30 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xsnow"
     1.8  VERSION="1.42"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="X-windows application that will let it snow on the desktop."
    1.11 +SHORT_DESC="X-windows application that will let it snow on the desktop"
    1.12  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
    1.13  LICENSE="Freeware"
    1.14  WEB_SITE="http://janswaal.home.xs4all.nl/Xsnow/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$WEB_SITE/$TARBALL"
    1.18  
    1.19 -DEPENDS="xorg-libXpm xorg-libXext"
    1.20  BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-libX11-dev xorg-libXpm-dev \
    1.21  xorg-libXext-dev xorg-libXt-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	xmkmf && make depend && make && make install
    1.27 -	mkdir -p $install/usr/share/applications
    1.28 -	cp -a $stuff/xsnow.desktop $install/usr/share/applications
    1.29 -	cp -a $stuff/xsnow.sh $install/usr/bin
    1.30 +compile_rules() {
    1.31 +	xmkmf &&
    1.32 +	make depend &&
    1.33 +	make &&
    1.34 +	make install || return 1
    1.35 +
    1.36 +	install -Dm644 $stuff/xsnow.desktop $install/usr/share/applications/xsnow.desktop
    1.37 +	install -Dm755 $stuff/xsnow.sh      $install/usr/bin/xsnow.sh
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	cp -a $install/* $fs
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="xorg-libXpm xorg-libXext"
    1.47  }