wok-next diff 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 |
line diff
1.1 --- a/mmx-emu/receipt Sat Nov 11 13:50:03 2017 +0100 1.2 +++ b/mmx-emu/receipt Fri Nov 30 01:34:53 2018 +0200 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="mmx-emu" 1.5 VERSION="0.6" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="MMX/EMMX/3Dnow! emulator." 1.8 +SHORT_DESC="MMX/EMMX/3Dnow! emulator" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 @@ -11,26 +11,23 @@ 1.13 WGET_URL="${WEB_SITE}$TARBALL" 1.14 TAGS="emulator MMX 3Dnow" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 sed -i 's|asm/sigcontext|signal|' include/*.h 1.21 make 1.22 } 1.23 1.24 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 -genpkg_rules() 1.26 -{ 1.27 +genpkg_rules() { 1.28 mkdir -p $fs/usr/lib 1.29 cp -a $src/libmmxemu.so $fs/usr/lib 1.30 } 1.31 1.32 -# Pre and post install commands for Tazpkg. 1.33 -post_install() 1.34 -{ 1.35 - cat << EOT 1.36 -To make it work on the program "program", just type: 1.37 +post_install() { 1.38 + [ -n "quiet" ] || cat <<EOT 1.39 1.40 -LD_PRELOAD=/usr/lib/libmmxemu.so program 1.41 + .------------------------------------------------------. 1.42 + | To make it work on the program "program", just type: | 1.43 + | | 1.44 + | LD_PRELOAD=/usr/lib/libmmxemu.so program | 1.45 + '------------------------------------------------------' 1.46 EOT 1.47 }