wok view chocolate-doom/receipt @ rev 4230

Fix: patch xfe to build with gcc-4.x
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 15:03:32 2009 +0200 (2009-09-24)
parents
children 39011a13b555
line source
1 # SliTaz package receipt.
3 PACKAGE="chocolate-doom"
4 VERSION="1.2.1"
5 CATEGORY="games"
6 SHORT_DESC="Doom source port as close as possible to vanilla Doom."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="libsdl libsdl-mixer libsdl-net"
12 BUILD_DEPENDS="libsdl-mixer-dev libsdl-net-dev libsdl-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share/games/doom
27 cp $src/src/chocolate-doom $fs/usr/bin
28 }