wok view stella/receipt @ rev 15741
gnucash: set license to GPL2
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Jan 01 20:51:00 2014 +0100 (2014-01-01) |
parents | 1434f2ab79ae |
children | e7dc618ef7f2 |
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 }