wok-6.x view dega/receipt @ rev 24415

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 18:04:02 2022 +0000 (2022-02-10)
parents eb8067417980
children 535c806240cc
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="https://web.archive.org/web/*/http://www.finalburn.com:80/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 }