wok-stable annotate mmx-emu/receipt @ rev 4824
Add: ccache, a compiler cache.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 21 00:26:18 2010 +0100 (2010-01-21) |
parents | |
children |
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 } |