wok view stella/receipt @ rev 23670
updated stella (3.7.5 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 07:47:01 2020 +0100 (2020-04-26) |
parents | 3d805214d753 |
children | 122213caa46d |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 CC=gcc-83 \
23 CXX=g++-83 \
24 --prefix=/usr &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps
33 mkdir -p $fs/usr/share/applications
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png \
37 $fs/usr/share/pixmaps
38 sed -i 's|Icon=stella.png|Icon=stella|' \
39 $install/usr/share/applications/stella.desktop
40 }