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

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 13:41:34 2010 +0200 (2010-07-10)
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 }