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

Up: activeresource to 3.2.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 25 08:35:57 2012 +0000 (2012-06-25)
parents 423bedaa410f
children 1434f2ab79ae
line source
1 # SliTaz package receipt.
3 PACKAGE="stella"
4 VERSION="3.5"
5 CATEGORY="games"
6 SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="gcc-lib-base libsdl libpng"
9 BUILD_DEPENDS="libsdl-dev libpng-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WEB_SITE="http://stella.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="emulator atari"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps
30 sed -i 's|Icon=stella.png|Icon=stella|' $_pkg/usr/share/applications/stella.desktop
31 }