wok annotate zsnes/receipt @ rev 9751
Update mpc-library since it must be sync with mpfr to build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 00:57:33 2011 +0200 (2011-05-11) |
parents | 4731db944616 |
children | 2eaf8be7c595 |
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 DEPENDS="gcc-lib-base libsdl libpng ncurses mesa zlib" |
slaxemulator@6391 | 10 BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf zlib-dev patch" |
slaxemulator@6391 | 11 TARBALL="zsnes151src.tar.bz2" |
slaxemulator@6391 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6391 | 13 TAGS="snes" |
slaxemulator@6391 | 14 |
slaxemulator@6391 | 15 # Rules to configure and make the package. |
slaxemulator@6391 | 16 |
slaxemulator@6391 | 17 compile_rules() { |
slaxemulator@6391 | 18 cd $src |
pascal@8974 | 19 patch -p1 -i $stuff/zsnes.patch |
slaxemulator@6391 | 20 cd $src/src |
slaxemulator@6391 | 21 ./configure --prefix=/usr \ |
slaxemulator@6391 | 22 --x-libraries=/usr/lib \ |
slaxemulator@6391 | 23 --enable-release \ |
slaxemulator@8261 | 24 force_arch=i486 && |
slaxemulator@8262 | 25 make && |
slaxemulator@8261 | 26 make -j 1 install |
slaxemulator@6391 | 27 } |
slaxemulator@6391 | 28 |
slaxemulator@6391 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6391 | 30 genpkg_rules() |
slaxemulator@6391 | 31 { |
slaxemulator@7566 | 32 mkdir -p $fs/usr/bin |
slaxemulator@6391 | 33 cp -a $src/src/zsnes $fs/usr/bin |
slaxemulator@6391 | 34 } |