wok-next annotate gens-gs/receipt @ rev 9379
Up: tazpkg 4.2.6
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 25 18:24:41 2011 +0100 (2011-03-25) |
parents | 8b7969d3a0f2 |
children | c75f6dba6ff3 |
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@8661 | 8 DEPENDS="gtk+ libsdl libglu-mesa" |
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 cd $src |
slaxemulator@8661 | 19 patch -Np1 -i ../stuff/gens-gtk.patch || return 1 |
slaxemulator@6512 | 20 chmod +x install-sh |
slaxemulator@8661 | 21 ./configure && |
slaxemulator@8661 | 22 make && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@6512 | 23 } |
slaxemulator@6512 | 24 |
slaxemulator@6512 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6512 | 26 genpkg_rules() |
slaxemulator@6512 | 27 { |
slaxemulator@6512 | 28 mkdir -p $fs/usr/share $fs/usr/lib/mdp |
slaxemulator@6512 | 29 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6512 | 30 cp -a $_pkg/usr/lib/mdp/*.so $fs/usr/lib/mdp |
slaxemulator@6512 | 31 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@6512 | 32 cp -a $_pkg/usr/share/gens $fs/usr/share |
slaxemulator@6512 | 33 } |
slaxemulator@6512 | 34 |