wok annotate lbreakout2/receipt @ rev 1958
Add lbreakout2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 31 12:47:00 2008 +0000 (2008-12-31) |
parents | |
children | 2287993c1dc7 |
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@1958 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1958 | 9 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2" |
pascal@1958 | 10 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1958 | 11 WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL" |
pascal@1958 | 12 DEPENDS="libpng libSDL" |
pascal@1958 | 13 BUILD_DEPENDS="libpng-dev libSDL-dev" |
pascal@1958 | 14 |
pascal@1958 | 15 # Rules to configure and make the package. |
pascal@1958 | 16 compile_rules() |
pascal@1958 | 17 { |
pascal@1958 | 18 cd $src |
pascal@1958 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1958 | 20 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1958 | 21 make |
pascal@1958 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1958 | 23 } |
pascal@1958 | 24 |
pascal@1958 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1958 | 26 genpkg_rules() |
pascal@1958 | 27 { |
pascal@1958 | 28 mkdir -p $fs/usr |
pascal@1958 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1958 | 30 cp -a $_pkg/usr/share $fs/usr |
pascal@1958 | 31 cp -a stuff/* $fs |
pascal@1958 | 32 } |
pascal@1958 | 33 |