wok-next view stella/receipt @ rev 16384

Fix: get-flash-plugin (fixed url. Works for me)
author Alexander Medvedev <devl547@gmail.com>
date Tue Apr 15 11:26:56 2014 +0400 (2014-04-15)
parents 1434f2ab79ae
children dd145c435e4b
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 }