wok-next view stella/receipt @ rev 14609
Up: python to 2.7.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 31 20:37:08 2013 +0000 (2013-05-31) |
parents | a0250385f2a5 |
children | 3d805214d753 |
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 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 }