wok-next annotate lbreakout2/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents dd145c435e4b
children d5aab818505e
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@20454 14 BUILD_DEPENDS="libpng16-dev libsdl-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 &&
pascal@15379 26 make DESTDIR=$DESTDIR 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
pascal@1958 34 cp -a stuff/* $fs
al@21017 35 DEPENDS="libpng16 libsdl libsdl-mixer zlib"
pascal@1958 36 }