wok-6.x view stella/receipt @ rev 18989

Up: Iron Browser v24.0.1350.0 to v48.2550.0.
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Mar 18 03:39:02 2016 -0300 (2016-03-18)
parents 1434f2ab79ae
children e7dc618ef7f2
line source
1 # SliTaz package receipt.
3 PACKAGE="stella"
4 VERSION="3.7.5"
5 CATEGORY="games"
6 SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://stella.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="emulator atari"
14 DEPENDS="gcc-lib-base libsdl libpng"
15 BUILD_DEPENDS="libsdl-dev libpng-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps
32 sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop
33 }