wok-next annotate mmx-emu/receipt @ rev 3261
Add: libffi
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Jun 01 10:45:43 2009 +0000 (2009-06-01) |
parents | |
children | a0250385f2a5 |
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@2371 | 11 |
pascal@2371 | 12 # Rules to configure and make the package. |
pascal@2371 | 13 compile_rules() |
pascal@2371 | 14 { |
pascal@2371 | 15 cd $src |
pascal@2371 | 16 make |
pascal@2371 | 17 } |
pascal@2371 | 18 |
pascal@2371 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2371 | 20 genpkg_rules() |
pascal@2371 | 21 { |
pascal@2371 | 22 mkdir -p $fs/usr/lib |
pascal@2371 | 23 cp -a $src/libmmxemu.so $fs/usr/lib |
pascal@2371 | 24 } |
pascal@2371 | 25 |
pascal@2371 | 26 # Pre and post install commands for Tazpkg. |
pascal@2371 | 27 post_install() |
pascal@2371 | 28 { |
pascal@2371 | 29 cat << EOT |
pascal@2371 | 30 To make it work on the program "program", just type: |
pascal@2371 | 31 |
pascal@2371 | 32 LD_PRELOAD=/usr/lib/libmmxemu.so program |
pascal@2371 | 33 EOT |
pascal@2371 | 34 } |