wok-6.x annotate lbreakout2/receipt @ rev 22181
linld: check memory size for vcpi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 11:45:54 2019 +0100 (2019-11-10) |
parents | 2a5cc8208d36 |
children | 663233baf831 |
rev | line source |
---|---|
pascal@1958 | 1 # SliTaz package receipt. |
pascal@1958 | 2 |
pascal@1958 | 3 PACKAGE="lbreakout2" |
pascal@1958 | 4 VERSION="2.6beta-7" |
pascal@1958 | 5 CATEGORY="games" |
pascal@1958 | 6 SHORT_DESC="Breakout clone." |
pascal@1958 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
pascal@1958 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1958 | 10 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2" |
pascal@1958 | 11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1958 | 12 WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL" |
pascal@15379 | 13 |
pankso@3429 | 14 DEPENDS="libpng libsdl libsdl-mixer zlib" |
pankso@3425 | 15 BUILD_DEPENDS="libpng-dev libsdl-dev" |
pascal@1958 | 16 |
pascal@1958 | 17 # Rules to configure and make the package. |
pascal@1958 | 18 compile_rules() |
pascal@1958 | 19 { |
pascal@19291 | 20 sed -i 's|/usr/doc|/usr/share/doc|' configure* |
pascal@1958 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2479 | 22 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2479 | 23 make && |
pascal@15379 | 24 make DESTDIR=$DESTDIR install |
pascal@1958 | 25 } |
pascal@1958 | 26 |
pascal@1958 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1958 | 28 genpkg_rules() |
pascal@1958 | 29 { |
pascal@1958 | 30 mkdir -p $fs/usr |
pascal@15379 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15379 | 32 cp -a $install/usr/share $fs/usr |
pascal@19291 | 33 rm -rf $fs/usr/share/doc |
pascal@1958 | 34 cp -a stuff/* $fs |
pascal@1958 | 35 } |
pascal@1958 | 36 |