# HG changeset patch # User Hans-G?nter Theisgen # Date 1583154944 -3600 # Node ID 663233baf831a831e9e6014f5eabf64aca6ad5f6 # Parent a5291ed096dbace248840dd331851029f71ec77e updated lbreakout2 (2.6beta-7 -> 2.6.5) diff -r a5291ed096db -r 663233baf831 lbreakout2/receipt --- a/lbreakout2/receipt Mon Mar 02 13:55:41 2020 +0100 +++ b/lbreakout2/receipt Mon Mar 02 14:15:44 2020 +0100 @@ -1,25 +1,32 @@ # SliTaz package receipt. PACKAGE="lbreakout2" -VERSION="2.6beta-7" +VERSION="2.6.5" CATEGORY="games" SHORT_DESC="Breakout clone." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2" #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL" +WGET_URL="http://downloads.sourceforge.net/project/lgames/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="libpng libsdl libsdl-mixer zlib" +DEPENDS="libpng libsdl libsdl-mixer zlib" BUILD_DEPENDS="libpng-dev libsdl-dev" # Rules to configure and make the package. compile_rules() { - sed -i 's|/usr/doc|/usr/share/doc|' configure* - ./configure --prefix=/usr --infodir=/usr/share/info \ - --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS && + sed -i 's|/usr/doc|/usr/share/doc|' \ + configure* + + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --disable-sdltest \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -28,9 +35,9 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share $fs/usr - rm -rf $fs/usr/share/doc - cp -a stuff/* $fs + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share $fs/usr + rm -rf $fs/usr/share/doc + cp -a stuff/* $fs } -