wok-6.x annotate stella/receipt @ rev 14512
Add lynis
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 13:55:15 2013 +0200 (2013-05-14) |
parents | a0250385f2a5 |
children | 3d805214d753 |
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" |
slaxemulator@7268 | 8 DEPENDS="gcc-lib-base libsdl libpng" |
slaxemulator@7268 | 9 BUILD_DEPENDS="libsdl-dev libpng-dev zlib-dev" |
slaxemulator@7268 | 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
slaxemulator@7268 | 11 WEB_SITE="http://stella.sourceforge.net/" |
slaxemulator@7268 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13041 | 13 TAGS="emulator atari" |
slaxemulator@7268 | 14 |
slaxemulator@7268 | 15 # Rules to configure and make the package. |
slaxemulator@7268 | 16 compile_rules() |
slaxemulator@7268 | 17 { |
slaxemulator@7268 | 18 cd $src |
slaxemulator@7268 | 19 ./configure \ |
slaxemulator@7268 | 20 --prefix=/usr && |
slaxemulator@11001 | 21 make && make DESTDIR=$DESTDIR install |
slaxemulator@7268 | 22 } |
slaxemulator@7268 | 23 |
slaxemulator@7268 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7268 | 25 genpkg_rules() |
slaxemulator@7268 | 26 { |
samuel_trassare@12010 | 27 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
slaxemulator@7268 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@11680 | 29 cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps |
gokhlayeh@12036 | 30 sed -i 's|Icon=stella.png|Icon=stella|' $_pkg/usr/share/applications/stella.desktop |
slaxemulator@7268 | 31 } |