wok-next diff xdigger/receipt @ rev 21032

Fix some homepages: follow HTTP redirections.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 17:26:00 2018 +0200 (2018-11-03)
parents 380ffe05937a
children 5669e8b3be70
line diff
     1.1 --- a/xdigger/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/xdigger/receipt	Sat Nov 03 17:26:00 2018 +0200
     1.3 @@ -3,30 +3,28 @@
     1.4  PACKAGE="xdigger"
     1.5  VERSION="1.0.10"
     1.6  CATEGORY="games"
     1.7 -SHORT_DESC="Digger rewritten for X11."
     1.8 +SHORT_DESC="Digger rewritten for X11"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11  WEB_SITE="http://www.ibiblio.org/pub/Linux/games/arcade/xdigger.lsm"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tgz"
    1.14  WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
    1.15  
    1.16 -DEPENDS="xorg"
    1.17  BUILD_DEPENDS="xorg-imake xorg-dev"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 -	cd $src
    1.23 +compile_rules() {
    1.24  	sed -i 's| inpause) step = Tr.*|&\nwait_count = 0;|;s| && cheat||' runlevels.c
    1.25 +
    1.26  	xmkmf
    1.27 -	make && make DESTDIR=$DESTDIR install
    1.28 +	make &&
    1.29 +	make DESTDIR=$install install
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 +genpkg_rules() {
    1.36  	mkdir -p $fs/usr/bin
    1.37  	cp -a $install/usr/lib $fs/usr
    1.38  	cp -a $install/usr/bin/X11/xdigger $fs/usr/bin
    1.39  	cp -a $stuff/*/ $fs
    1.40 +	DEPENDS="xorg"
    1.41  }