wok-6.x view mmx-emu/receipt @ rev 10441

hal-cups-utils: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 02:47:07 2011 +0200 (2011-05-25)
parents
children a0250385f2a5
line source
1 # SliTaz package receipt.
3 PACKAGE="mmx-emu"
4 VERSION="0.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="MMX/EMMX/3Dnow! emulator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/"
10 WGET_URL="${WEB_SITE}$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 make
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib
23 cp -a $src/libmmxemu.so $fs/usr/lib
24 }
26 # Pre and post install commands for Tazpkg.
27 post_install()
28 {
29 cat << EOT
30 To make it work on the program "program", just type:
32 LD_PRELOAD=/usr/lib/libmmxemu.so program
33 EOT
34 }