wok annotate lbreakout2/receipt @ rev 23826

created recipe for minicom-lang
author Hans-G?nter Theisgen
date Fri May 29 07:57:27 2020 +0100 (2020-05-29)
parents e8c84b81fa04
children 65d7d867e0c1
rev   line source
pascal@1958 1 # SliTaz package receipt.
pascal@1958 2
pascal@1958 3 PACKAGE="lbreakout2"
Hans-G?nter@22994 4 VERSION="2.6.5"
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"
Hans-G?nter@22994 9 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
Hans-G?nter@22994 10
pascal@1958 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1958 12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@22994 13 WGET_URL="http://downloads.sourceforge.net/project/lgames/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@15379 14
Hans-G?nter@22994 15 DEPENDS="libpng libsdl libsdl-mixer zlib"
pankso@3425 16 BUILD_DEPENDS="libpng-dev libsdl-dev"
pascal@1958 17
pascal@1958 18 # Rules to configure and make the package.
pascal@1958 19 compile_rules()
pascal@1958 20 {
Hans-G?nter@22994 21 sed -i 's|/usr/doc|/usr/share/doc|' \
Hans-G?nter@22994 22 configure*
Hans-G?nter@22994 23
Hans-G?nter@22994 24 ./configure \
Hans-G?nter@22994 25 --prefix=/usr \
Hans-G?nter@22994 26 --infodir=/usr/share/info \
Hans-G?nter@22994 27 --disable-sdltest \
Hans-G?nter@22994 28 --mandir=/usr/share/man \
Hans-G?nter@22994 29 $CONFIGURE_ARGS &&
pascal@2479 30 make &&
pascal@15379 31 make DESTDIR=$DESTDIR install
pascal@1958 32 }
pascal@1958 33
pascal@1958 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1958 35 genpkg_rules()
pascal@1958 36 {
pascal@1958 37 mkdir -p $fs/usr
Hans-G?nter@22994 38
Hans-G?nter@22994 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22994 40 cp -a $install/usr/share $fs/usr
Hans-G?nter@22994 41 rm -rf $fs/usr/share/doc
Hans-G?nter@22994 42 cp -a stuff/* $fs
pascal@1958 43 }