wok view stella/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 917dfc4833a1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="stella"
4 VERSION="6.7"
5 CATEGORY="games"
6 TAGS="emulator atari"
7 SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://stella-emu.github.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/stella-emu/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base libpng libsdl2"
16 BUILD_DEPENDS="gcc83 libpng-dev libsdl2-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CC=gcc-83
29 export CXX=g++-83
31 ./configure \
32 --prefix=/usr &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/pixmaps
41 mkdir -p $fs/usr/share/applications
43 cook_copy_folders bin
44 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png \
45 $fs/usr/share/pixmaps
46 sed -i 's|Icon=stella.png|Icon=stella|' \
47 $install/usr/share/applications/stella.desktop
48 }