wok-current view stella/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | de9dcfaecbe8 |
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 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 install DESTDIR=$DESTDIR
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 cook_copy_folders bin
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 }