wok annotate mmx-emu/receipt @ rev 13736

Add xbattle
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 19:05:46 2012 +0100 (2012-12-25)
parents 0fcd9d63e1e2
children bb009a6ef036
rev   line source
pascal@2371 1 # SliTaz package receipt.
pascal@2371 2
pascal@2371 3 PACKAGE="mmx-emu"
pascal@2371 4 VERSION="0.6"
pascal@2371 5 CATEGORY="system-tools"
pascal@2371 6 SHORT_DESC="MMX/EMMX/3Dnow! emulator."
pascal@2371 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2371 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2371 9 WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/"
pascal@2371 10 WGET_URL="${WEB_SITE}$TARBALL"
pascal@13041 11 TAGS="emulator MMX 3Dnow"
pascal@2371 12
pascal@2371 13 # Rules to configure and make the package.
pascal@2371 14 compile_rules()
pascal@2371 15 {
pascal@2371 16 cd $src
pascal@2371 17 make
pascal@2371 18 }
pascal@2371 19
pascal@2371 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2371 21 genpkg_rules()
pascal@2371 22 {
pascal@2371 23 mkdir -p $fs/usr/lib
pascal@2371 24 cp -a $src/libmmxemu.so $fs/usr/lib
pascal@2371 25 }
pascal@2371 26
pascal@2371 27 # Pre and post install commands for Tazpkg.
pascal@2371 28 post_install()
pascal@2371 29 {
pascal@2371 30 cat << EOT
pascal@2371 31 To make it work on the program "program", just type:
pascal@2371 32
pascal@2371 33 LD_PRELOAD=/usr/lib/libmmxemu.so program
pascal@2371 34 EOT
pascal@2371 35 }