wok-next view stella/receipt @ rev 14941
Up: efreet (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:46 2013 +0200 (2013-08-08) |
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 }