wok-next view mmx-emu/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | bb009a6ef036 |
children | d5aab818505e |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="emulator MMX 3Dnow"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's|asm/sigcontext|signal|' include/*.h
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $src/libmmxemu.so $fs/usr/lib
26 }
28 # Pre and post install commands for Tazpkg.
29 post_install()
30 {
31 cat << EOT
32 To make it work on the program "program", just type:
34 LD_PRELOAD=/usr/lib/libmmxemu.so program
35 EOT
36 }