wok view stella/receipt @ rev 24011

mosh: create /usr/share/terminfo/x/xterm-256color link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 05 17:16:12 2021 +0000 (2021-02-05)
parents e7dc618ef7f2
children 5ea0ce1cecc0
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 export CC=gcc-83
22 export CXX=g++-83
24 ./configure \
25 --prefix=/usr &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 mkdir -p $fs/usr/share/applications
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png \
38 $fs/usr/share/pixmaps
39 sed -i 's|Icon=stella.png|Icon=stella|' \
40 $install/usr/share/applications/stella.desktop
41 }