wok-6.x annotate stella/receipt @ rev 8399
linux,syslinux: no more awk in shell tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 16:34:18 2011 +0100 (2011-02-05) |
parents | |
children | e274e203fbda |
rev | line source |
---|---|
slaxemulator@7268 | 1 # SliTaz package receipt. |
slaxemulator@7268 | 2 |
slaxemulator@7268 | 3 PACKAGE="stella" |
slaxemulator@7268 | 4 VERSION="3.3" |
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" |
slaxemulator@7268 | 13 |
slaxemulator@7268 | 14 # Rules to configure and make the package. |
slaxemulator@7268 | 15 compile_rules() |
slaxemulator@7268 | 16 { |
slaxemulator@7268 | 17 cd $src |
slaxemulator@7268 | 18 ./configure \ |
slaxemulator@7268 | 19 --prefix=/usr && |
slaxemulator@7268 | 20 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7268 | 21 } |
slaxemulator@7268 | 22 |
slaxemulator@7268 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7268 | 24 genpkg_rules() |
slaxemulator@7268 | 25 { |
slaxemulator@7268 | 26 mkdir -p $fs/usr/share/pixmaps |
slaxemulator@7268 | 27 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7268 | 28 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@7268 | 29 cp -a $_pkg/usr/share/icons/stella.png $fs/usr/share/pixmaps |
slaxemulator@7268 | 30 } |
slaxemulator@7268 | 31 |