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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a8c64a48b69e
children
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 compile_rules() {
15 sed -i 's|asm/sigcontext|signal|' include/*.h
16 make
17 }
19 genpkg_rules() {
20 mkdir -p $fs/usr/lib
21 cp -a $src/libmmxemu.so $fs/usr/lib
22 }
24 post_install() {
25 [ -n "quiet" ] || cat <<EOT
27 .------------------------------------------------------.
28 | To make it work on the program "program", just type: |
29 | |
30 | LD_PRELOAD=/usr/lib/libmmxemu.so program |
31 '------------------------------------------------------'
32 EOT
33 }