wok-current annotate gens-gs/receipt @ rev 7710

merge
author fireflyoo <lufeng369@gmail.com>
date Sun Dec 19 23:29:00 2010 +0800 (2010-12-19)
parents
children 4f96db6c0be2
rev   line source
slaxemulator@6512 1 # SliTaz package receipt.
slaxemulator@6512 2
slaxemulator@6512 3 PACKAGE="gens-gs"
slaxemulator@6512 4 VERSION="2.15.5_gs_r7"
slaxemulator@6512 5 CATEGORY="games"
slaxemulator@6512 6 SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X."
slaxemulator@6512 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6512 8 DEPENDS="gtk+ libsdl"
slaxemulator@6512 9 BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake"
slaxemulator@6512 10 _VERSION=gs-r7
slaxemulator@6512 11 TARBALL="Gens-${_VERSION}.tar.gz"
slaxemulator@6512 12 WEB_SITE="http://info.sonicretro.org/Gens/GS"
slaxemulator@6512 13 WGET_URL="http://segaretro.org/images/6/6d/$TARBALL"
slaxemulator@6512 14
slaxemulator@6512 15 # Rules to configure and make the package.
slaxemulator@6512 16 compile_rules()
slaxemulator@6512 17 {
slaxemulator@6512 18 ln -s $WOK/$PACKAGE/gens-${_VERSION} $WOK/$PACKAGE/$PACKAGE-$VERSION
slaxemulator@6512 19 cd $src
slaxemulator@6512 20 chmod +x install-sh
slaxemulator@6512 21 ./configure \
slaxemulator@6512 22 --prefix=/usr \
slaxemulator@6512 23 --infodir=/usr/share/info \
slaxemulator@6512 24 --mandir=/usr/share/man \
slaxemulator@6512 25 $CONFIGURE_ARGS &&
slaxemulator@6512 26 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6512 27 }
slaxemulator@6512 28
slaxemulator@6512 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6512 30 genpkg_rules()
slaxemulator@6512 31 {
slaxemulator@6512 32 mkdir -p $fs/usr/share $fs/usr/lib/mdp
slaxemulator@6512 33 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6512 34 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp
slaxemulator@6512 35 cp -a $_pkg/usr/share/applications $fs/usr/share
slaxemulator@6512 36 cp -a $_pkg/usr/share/gens $fs/usr/share
slaxemulator@6512 37 }
slaxemulator@6512 38