wok view stella/receipt @ rev 24805
Up apache (2.4.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 22 10:13:41 2022 +0000 (2022-03-22) |
parents | d8c28080cd55 |
children | 917dfc4833a1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="stella"
4 VERSION="6.6"
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 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 &&
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 }