wok-next annotate stella/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | dd145c435e4b |
children | d5aab818505e |
rev | line source |
---|---|
al@20475 | 1 # SliTaz package receipt v2. |
slaxemulator@7268 | 2 |
slaxemulator@7268 | 3 PACKAGE="stella" |
devl547@13978 | 4 VERSION="3.7.5" |
slaxemulator@7268 | 5 CATEGORY="games" |
al@20475 | 6 SHORT_DESC="A multi-platform Atari 2600 VCS emulator" |
slaxemulator@7268 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15582 | 8 LICENSE="GPL2" |
al@20475 | 9 WEB_SITE="http://stella.sourceforge.net/" |
al@20475 | 10 |
slaxemulator@7268 | 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
slaxemulator@7268 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7268 | 13 |
al@20454 | 14 BUILD_DEPENDS="libsdl-dev libpng16-dev zlib-dev" |
pascal@15582 | 15 |
al@20475 | 16 compile_rules() { |
slaxemulator@7268 | 17 ./configure \ |
slaxemulator@7268 | 18 --prefix=/usr && |
al@20475 | 19 make && make DESTDIR=$DESTDIR install || return 1 |
al@20475 | 20 |
al@20475 | 21 sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop |
slaxemulator@7268 | 22 } |
slaxemulator@7268 | 23 |
al@20475 | 24 genpkg_rules() { |
al@20475 | 25 copy @std |
al@20475 | 26 DEPENDS="gcc-lib-base libsdl libpng16" |
al@20475 | 27 TAGS="emulator atari" |
slaxemulator@7268 | 28 } |