wok-next diff stella/receipt @ rev 20810

ocsinventory: ocsreports has gone
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 13 15:08:59 2018 +0300 (2018-06-13)
parents dd145c435e4b
children d5aab818505e
line diff
     1.1 --- a/stella/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.2 +++ b/stella/receipt	Wed Jun 13 15:08:59 2018 +0300
     1.3 @@ -1,33 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="stella"
     1.8  VERSION="3.7.5"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
    1.11 +SHORT_DESC="A multi-platform Atari 2600 VCS emulator"
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://stella.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.17 -WEB_SITE="http://stella.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="emulator atari"
    1.20  
    1.21 -DEPENDS="gcc-lib-base libsdl libpng16"
    1.22  BUILD_DEPENDS="libsdl-dev libpng16-dev zlib-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 +compile_rules() {
    1.29  	./configure \
    1.30  		--prefix=/usr &&
    1.31 -	make && make DESTDIR=$DESTDIR install
    1.32 +	make && make DESTDIR=$DESTDIR install || return 1
    1.33 +
    1.34 +	sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    1.41 -	cp -a $install/usr/bin $fs/usr
    1.42 -	cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps
    1.43 -	sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="gcc-lib-base libsdl libpng16"
    1.47 +	TAGS="emulator atari"
    1.48  }