wok annotate zsnes/receipt @ rev 15183
cherokee: new init script
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Aug 21 14:06:05 2013 +0000 (2013-08-21) |
parents | 6b09507225ec |
children | 78cb1e930abd |
rev | line source |
---|---|
slaxemulator@6391 | 1 # SliTaz package receipt. |
slaxemulator@6391 | 2 |
slaxemulator@6391 | 3 PACKAGE="zsnes" |
slaxemulator@6391 | 4 VERSION="1.51" |
slaxemulator@6391 | 5 CATEGORY="games" |
slaxemulator@6391 | 6 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6391 | 7 SHORT_DESC="Super Nintendo emulator" |
slaxemulator@6391 | 8 WEB_SITE="http://www.zsnes.com/" |
slaxemulator@6391 | 9 TARBALL="zsnes151src.tar.bz2" |
slaxemulator@6391 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13041 | 11 TAGS="emulator nintendo snes" |
slaxemulator@6391 | 12 |
pascal@13796 | 13 DEPENDS="gcc-lib-base libsdl libpng ncurses mesa zlib" |
pascal@13796 | 14 BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf zlib-dev patch" |
pascal@13796 | 15 |
slaxemulator@6391 | 16 # Rules to configure and make the package. |
slaxemulator@6391 | 17 |
slaxemulator@6391 | 18 compile_rules() { |
slaxemulator@6391 | 19 cd $src |
pascal@8974 | 20 patch -p1 -i $stuff/zsnes.patch |
slaxemulator@6391 | 21 cd $src/src |
slaxemulator@6391 | 22 ./configure --prefix=/usr \ |
slaxemulator@6391 | 23 --x-libraries=/usr/lib \ |
slaxemulator@6391 | 24 --enable-release \ |
pascal@13878 | 25 force_arch=$ARCH \ |
slaxemulator@10038 | 26 $CONFIGURE_ARGS && |
slaxemulator@8262 | 27 make && |
slaxemulator@8261 | 28 make -j 1 install |
slaxemulator@6391 | 29 } |
slaxemulator@6391 | 30 |
slaxemulator@6391 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6391 | 32 genpkg_rules() |
slaxemulator@6391 | 33 { |
slaxemulator@7566 | 34 mkdir -p $fs/usr/bin |
slaxemulator@6391 | 35 cp -a $src/src/zsnes $fs/usr/bin |
slaxemulator@6391 | 36 } |