wok-current annotate stella/receipt @ rev 21883

Up fontforge (20190801)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 30 12:31:11 2019 +0200 (2019-09-30)
parents 1434f2ab79ae
children e7dc618ef7f2
rev   line source
slaxemulator@7268 1 # SliTaz package receipt.
slaxemulator@7268 2
slaxemulator@7268 3 PACKAGE="stella"
devl547@13978 4 VERSION="3.7.5"
slaxemulator@7268 5 CATEGORY="games"
slaxemulator@7268 6 SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
slaxemulator@7268 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15582 8 LICENSE="GPL2"
slaxemulator@7268 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
slaxemulator@7268 10 WEB_SITE="http://stella.sourceforge.net/"
slaxemulator@7268 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13041 12 TAGS="emulator atari"
slaxemulator@7268 13
pascal@15582 14 DEPENDS="gcc-lib-base libsdl libpng"
pascal@15582 15 BUILD_DEPENDS="libsdl-dev libpng-dev zlib-dev"
pascal@15582 16
slaxemulator@7268 17 # Rules to configure and make the package.
slaxemulator@7268 18 compile_rules()
slaxemulator@7268 19 {
slaxemulator@7268 20 cd $src
slaxemulator@7268 21 ./configure \
slaxemulator@7268 22 --prefix=/usr &&
slaxemulator@11001 23 make && make DESTDIR=$DESTDIR install
slaxemulator@7268 24 }
slaxemulator@7268 25
slaxemulator@7268 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7268 27 genpkg_rules()
slaxemulator@7268 28 {
samuel_trassare@12010 29 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
pascal@15582 30 cp -a $install/usr/bin $fs/usr
pascal@15582 31 cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps
pascal@15582 32 sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop
slaxemulator@7268 33 }