wok view stella/receipt @ rev 24185

updated perl-common-sense (3.74 -> 3.75)
author Hans-G?nter Theisgen
date Fri Dec 31 14:04:57 2021 +0100 (2021-12-31)
parents 5ea0ce1cecc0
children de9dcfaecbe8
line source
1 # SliTaz package receipt.
3 PACKAGE="stella"
4 VERSION="6.1.1"
5 CATEGORY="games"
6 SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://stella-emu.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/stella-emu/$PACKAGE/archive/$VERSION.tar.gz"
13 TAGS="emulator atari"
15 DEPENDS="gcc83-lib-base libpng libsdl2"
16 BUILD_DEPENDS="gcc83 libpng-dev libsdl2-dev zlib-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
30 ./configure \
31 --prefix=/usr &&
32 make -j 4 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps
40 mkdir -p $fs/usr/share/applications
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png \
44 $fs/usr/share/pixmaps
45 sed -i 's|Icon=stella.png|Icon=stella|' \
46 $install/usr/share/applications/stella.desktop
47 }