SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dega"

# SliTaz package receipt.

PACKAGE="dega"
VERSION="1.12"
CATEGORY="games"
SHORT_DESC="A small Sega Master System and Game Gear emulator"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="other"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/*/http://www.finalburn.com:80/dega/"
WGET_URL="http://www.emulinks.de/emus/$TARBALL"
TAGS="emulator sega"

DEPENDS="libsdl"
BUILD_DEPENDS="nasm libsdl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i 's/--libs.*/& -lm/' Makefile
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/dega $fs/usr/bin
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)