wok-next view dega/receipt @ rev 19066
It works, but needs review and improvement. Thank you.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 06:32:59 2016 -0300 (2016-04-21) |
parents | ce734eff2506 |
children | d5aab818505e |
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 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.finalburn.com/dega"
11 WGET_URL="http://www.emulinks.de/emus/$TARBALL"
12 TAGS="emulator sega"
14 DEPENDS="libsdl"
15 BUILD_DEPENDS="nasm libsdl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/--libs.*/& -lm/' Makefile
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/dega $fs/usr/bin
30 }