wok-6.x view dega/receipt @ rev 25209
updated python-odoorpc (0.6.1 -> 0.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:01:57 2022 +0100 (2022-07-13) |
parents | 20661c276bcf |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 sed -i 's/--libs.*/& -lm/' Makefile
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/dega $fs/usr/bin
37 }