wok-next view stella/receipt @ rev 16701
Up: tazpkg (5.3.1): fix bug with installing coreutils-directory package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 26 16:17:01 2014 +0300 (2014-05-26) |
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 }