wok-6.x annotate mmx-emu/receipt @ rev 16448
Up: slitaz-tools (bug fix) + slitaz-arm-rpi with a bunch of new functions
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 19 00:20:05 2014 +0200 (2014-04-19) |
parents | a0250385f2a5 |
children | 453c249b6219 |
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@15583 | 8 LICENSE="GPL2" |
pascal@2371 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2371 | 10 WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/" |
pascal@2371 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13041 | 12 TAGS="emulator MMX 3Dnow" |
pascal@2371 | 13 |
pascal@2371 | 14 # Rules to configure and make the package. |
pascal@2371 | 15 compile_rules() |
pascal@2371 | 16 { |
pascal@2371 | 17 cd $src |
pascal@2371 | 18 make |
pascal@2371 | 19 } |
pascal@2371 | 20 |
pascal@2371 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2371 | 22 genpkg_rules() |
pascal@2371 | 23 { |
pascal@2371 | 24 mkdir -p $fs/usr/lib |
pascal@2371 | 25 cp -a $src/libmmxemu.so $fs/usr/lib |
pascal@2371 | 26 } |
pascal@2371 | 27 |
pascal@2371 | 28 # Pre and post install commands for Tazpkg. |
pascal@2371 | 29 post_install() |
pascal@2371 | 30 { |
pascal@2371 | 31 cat << EOT |
pascal@2371 | 32 To make it work on the program "program", just type: |
pascal@2371 | 33 |
pascal@2371 | 34 LD_PRELOAD=/usr/lib/libmmxemu.so program |
pascal@2371 | 35 EOT |
pascal@2371 | 36 } |