wok-4.x annotate foobillard/receipt @ rev 8013

busybox: Fixed init script to umount /proc. If it doesn't it will crash the livecd.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jan 19 12:35:53 2011 +0000 (2011-01-19)
parents
children d1768332cee0
rev   line source
slaxemulator@7500 1 # SliTaz package receipt.
slaxemulator@7500 2
slaxemulator@7500 3 PACKAGE="foobillard"
slaxemulator@7500 4 VERSION="3.0a"
slaxemulator@7500 5 CATEGORY="games"
slaxemulator@7500 6 SHORT_DESC="An OpenGL billiard game for Linux."
slaxemulator@7500 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7500 8 DEPENDS="libsdl freetype libpng mesa libglu-mesa"
slaxemulator@7500 9 BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev"
slaxemulator@7500 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7500 11 WEB_SITE="http://foobillard.sourceforge.net/"
slaxemulator@7500 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7500 13
slaxemulator@7500 14 # Rules to configure and make the package.
slaxemulator@7500 15 compile_rules()
slaxemulator@7500 16 {
slaxemulator@7500 17 cd $src
slaxemulator@7500 18 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in
slaxemulator@7500 19 patch -p1 < ../stuff/03_bugfixes
slaxemulator@7500 20 patch -p1 < ../stuff/05_foul_explanation
slaxemulator@7500 21 patch -p1 < ../stuff/06_show_ball_to_hit
slaxemulator@7500 22 patch -p0 < ../stuff/snooker_reset.patch
slaxemulator@7500 23 patch -p0 < ../stuff/snooker_draw.patch
slaxemulator@7500 24
slaxemulator@7500 25 ./configure \
slaxemulator@7500 26 --prefix=/usr \
slaxemulator@7500 27 --infodir=/usr/share/info \
slaxemulator@7500 28 --mandir=/usr/share/man \
slaxemulator@7500 29 $CONFIGURE_ARGS &&
slaxemulator@7500 30 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7500 31 }
slaxemulator@7500 32
slaxemulator@7500 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7500 34 genpkg_rules()
slaxemulator@7500 35 {
slaxemulator@7500 36 mkdir -p $fs/usr/share
slaxemulator@7500 37 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7500 38 cp -a $_pkg/usr/share/foobillard $fs/usr/share
slaxemulator@7500 39 }
slaxemulator@7500 40