wok-next annotate mmx-emu/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | a8c64a48b69e |
children |
rev | line source |
---|---|
pascal@2371 | 1 # SliTaz package receipt. |
pascal@2371 | 2 |
pascal@2371 | 3 PACKAGE="mmx-emu" |
pascal@2371 | 4 VERSION="0.6" |
pascal@2371 | 5 CATEGORY="system-tools" |
al@21020 | 6 SHORT_DESC="MMX/EMMX/3Dnow! emulator" |
pascal@2371 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
pascal@2371 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2371 | 10 WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/" |
pascal@2371 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13041 | 12 TAGS="emulator MMX 3Dnow" |
pascal@2371 | 13 |
al@21020 | 14 compile_rules() { |
pascal@20316 | 15 sed -i 's|asm/sigcontext|signal|' include/*.h |
pascal@2371 | 16 make |
pascal@2371 | 17 } |
pascal@2371 | 18 |
al@21020 | 19 genpkg_rules() { |
pascal@2371 | 20 mkdir -p $fs/usr/lib |
pascal@2371 | 21 cp -a $src/libmmxemu.so $fs/usr/lib |
pascal@2371 | 22 } |
pascal@2371 | 23 |
al@21020 | 24 post_install() { |
al@21020 | 25 [ -n "quiet" ] || cat <<EOT |
pascal@2371 | 26 |
al@21020 | 27 .------------------------------------------------------. |
al@21020 | 28 | To make it work on the program "program", just type: | |
al@21020 | 29 | | |
al@21020 | 30 | LD_PRELOAD=/usr/lib/libmmxemu.so program | |
al@21020 | 31 '------------------------------------------------------' |
pascal@2371 | 32 EOT |
pascal@2371 | 33 } |