wok-4.x diff gens-gs/receipt @ rev 8151
Fix: add xorg-dri2proto to mesa-dev deps
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Jan 26 01:31:19 2011 +0100 (2011-01-26) |
parents | |
children | 4f96db6c0be2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gens-gs/receipt Wed Jan 26 01:31:19 2011 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gens-gs" 1.7 +VERSION="2.15.5_gs_r7" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="An emulator for Sega Genesis, Sega CD and 32X." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="gtk+ libsdl" 1.12 +BUILD_DEPENDS="gtk+-dev libsdl libsdl-dev nasm autoconf automake" 1.13 +_VERSION=gs-r7 1.14 +TARBALL="Gens-${_VERSION}.tar.gz" 1.15 +WEB_SITE="http://info.sonicretro.org/Gens/GS" 1.16 +WGET_URL="http://segaretro.org/images/6/6d/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ln -s $WOK/$PACKAGE/gens-${_VERSION} $WOK/$PACKAGE/$PACKAGE-$VERSION 1.22 + cd $src 1.23 + chmod +x install-sh 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/share $fs/usr/lib/mdp 1.36 + cp -a $_pkg/usr/bin $fs/usr 1.37 + cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp 1.38 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.39 + cp -a $_pkg/usr/share/gens $fs/usr/share 1.40 +} 1.41 +