wok view dega/receipt @ rev 13215

broadcom-wl: update compile-rules for rescent kernels
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 10 17:00:01 2012 +0200 (2012-08-10)
parents a0250385f2a5
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="dega"
4 VERSION="1.12"
5 CATEGORY="games"
6 SHORT_DESC="A small Sega Master System and Game Gear emulator"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.finalburn.com/dega"
10 WGET_URL="http://www.emulinks.de/emus/$TARBALL"
11 TAGS="emulator sega"
13 DEPENDS="libsdl"
14 BUILD_DEPENDS="nasm libsdl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/--libs.*/& -lm/' Makefile
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/dega $fs/usr/bin
29 }