wok annotate lbreakout2/receipt @ rev 16593
Up: slitaz-tools (5.8.7) with fixed makefile
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 07 02:11:14 2014 +0300 (2014-05-07) |
parents | 2c679ce49f4c |
children | e8c84b81fa04 |
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@1958 | 20 cd $src |
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@1958 | 33 cp -a stuff/* $fs |
pascal@1958 | 34 } |
pascal@1958 | 35 |