wok-next view dega/receipt @ rev 14196
emacs-pkg-*-mode: genpkg return value
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 13 09:50:50 2013 +0100 (2013-03-13) |
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 }