wok-6.x view mmx-emu/receipt @ rev 4601
Up: task (1.8.5)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 13 19:24:05 2009 +0000 (2009-12-13) |
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 }