wok-current rev 22994

updated lbreakout2 (2.6beta-7 -> 2.6.5)
author Hans-G?nter Theisgen
date Mon Mar 02 14:15:44 2020 +0100 (2020-03-02)
parents a5291ed096db
children 3f766b079e67
files lbreakout2/receipt
line diff
     1.1 --- a/lbreakout2/receipt	Mon Mar 02 13:55:41 2020 +0100
     1.2 +++ b/lbreakout2/receipt	Mon Mar 02 14:15:44 2020 +0100
     1.3 @@ -1,25 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lbreakout2"
     1.7 -VERSION="2.6beta-7"
     1.8 +VERSION="2.6.5"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Breakout clone."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
    1.17  #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 -WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
    1.19 +WGET_URL="http://downloads.sourceforge.net/project/lgames/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20  
    1.21 -DEPENDS="libpng libsdl libsdl-mixer  zlib"
    1.22 +DEPENDS="libpng libsdl libsdl-mixer zlib"
    1.23  BUILD_DEPENDS="libpng-dev libsdl-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	sed -i 's|/usr/doc|/usr/share/doc|' configure*
    1.29 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.30 -	--disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.31 +	sed -i 's|/usr/doc|/usr/share/doc|' \
    1.32 +		configure*
    1.33 +
    1.34 +	./configure				\
    1.35 +		--prefix=/usr			\
    1.36 +		--infodir=/usr/share/info	\
    1.37 +		--disable-sdltest		\
    1.38 +		--mandir=/usr/share/man		\
    1.39 +		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41  	make DESTDIR=$DESTDIR install
    1.42  }
    1.43 @@ -28,9 +35,9 @@
    1.44  genpkg_rules()
    1.45  {
    1.46  	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 -	cp -a $install/usr/share $fs/usr
    1.49 -	rm -rf $fs/usr/share/doc
    1.50 -	cp -a stuff/* $fs
    1.51 +
    1.52 +	cp -a $install/usr/bin		$fs/usr
    1.53 +	cp -a $install/usr/share	$fs/usr
    1.54 +	rm -rf				$fs/usr/share/doc
    1.55 +	cp -a stuff/*			$fs
    1.56  }
    1.57 -