wok-next view stella/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 3d805214d753
children 1ff0133b1f8c
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 libpng16"
15 BUILD_DEPENDS="libsdl-dev libpng16-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 }