wok-next diff xpat2/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 8e1b2a143eb3
children 5669e8b3be70
line diff
     1.1 --- a/xpat2/receipt	Sat Sep 01 16:21:51 2018 +0300
     1.2 +++ b/xpat2/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,34 +1,32 @@
     1.4 -# SliTaz package receipt
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xpat2"
     1.8  VERSION="1.07"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="Soltaire games for X."
    1.11 -MAINTAINER="b1+slitaz@nagel.org"
    1.12 +SHORT_DESC="Soltaire games for X"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="http://www.ibiblio.org/pub/Linux/games/solitaires/!INDEX.html"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.18  WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
    1.19  
    1.20 -DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
    1.21  BUILD_DEPENDS="xorg-libX11-dev xorg-libXt-dev xorg-libXaw-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	cd src
    1.28  	cp $stuff/Makefile .
    1.29 +
    1.30  	make LDFLAGS="-lX11 -lXaw -lXmu -lXt -lXpm" &&
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 +	make DESTDIR=$install install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 +genpkg_rules() {
    1.39  	mkdir -p $fs/var/games/xpat2
    1.40  	cp -a $install/usr $fs
    1.41  	mkdir -p $fs/usr/share/X11/app-defaults/
    1.42  	cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
    1.43  	touch $fs/var/games/xpat2/xpat.log
    1.44  	chmod 666 $fs/var/games/xpat2/xpat.log
    1.45 +	DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
    1.46  }