wok-next view mmx-emu/receipt @ rev 14795

web-applications: Up web-applications (1.5)
author Richard Dunbar <mojo@slitaz.org>
date Tue Jul 09 19:42:20 2013 +0000 (2013-07-09)
parents 0fcd9d63e1e2
children bb009a6ef036
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"
11 TAGS="emulator MMX 3Dnow"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib
24 cp -a $src/libmmxemu.so $fs/usr/lib
25 }
27 # Pre and post install commands for Tazpkg.
28 post_install()
29 {
30 cat << EOT
31 To make it work on the program "program", just type:
33 LD_PRELOAD=/usr/lib/libmmxemu.so program
34 EOT
35 }