wok-next annotate lbreakout2/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
rev   line source
al@21017 1 # SliTaz package receipt v2.
pascal@1958 2
pascal@1958 3 PACKAGE="lbreakout2"
pascal@20312 4 VERSION="2.6.5"
pascal@1958 5 CATEGORY="games"
al@21017 6 SHORT_DESC="Breakout clone"
pascal@1958 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15379 8 LICENSE="GPL2"
al@21017 9 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
al@21017 10
pascal@1958 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21017 12 WGET_URL="$SF_MIRROR/lgames/$TARBALL"
pascal@15379 13
al@21087 14 BUILD_DEPENDS="libpng-dev sdl-dev"
pascal@1958 15
al@21017 16 compile_rules() {
pascal@19291 17 sed -i 's|/usr/doc|/usr/share/doc|' configure*
al@21017 18
al@21017 19 ./configure \
al@21017 20 --prefix=/usr \
al@21017 21 --infodir=/usr/share/info \
al@21017 22 --disable-sdltest \
al@21017 23 --mandir=/usr/share/man \
al@21017 24 $CONFIGURE_ARGS &&
pascal@2479 25 make &&
al@21020 26 make DESTDIR=$install install
pascal@1958 27 }
pascal@1958 28
al@21017 29 genpkg_rules() {
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
al@21020 34 cp -a $stuff/* $fs
al@21087 35 DEPENDS="libpng sdl sdl-mixer zlib"
pascal@1958 36 }