wok-4.x diff mmx-emu/receipt @ rev 10303
pkg-config: use TOOLPREFIX like binutils to make cross compilation happy
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 02:12:16 2011 +0200 (2011-05-22) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mmx-emu/receipt Sun May 22 02:12:16 2011 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mmx-emu" 1.7 +VERSION="0.6" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="MMX/EMMX/3Dnow! emulator." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/" 1.13 +WGET_URL="${WEB_SITE}$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + make 1.20 +} 1.21 + 1.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 +genpkg_rules() 1.24 +{ 1.25 + mkdir -p $fs/usr/lib 1.26 + cp -a $src/libmmxemu.so $fs/usr/lib 1.27 +} 1.28 + 1.29 +# Pre and post install commands for Tazpkg. 1.30 +post_install() 1.31 +{ 1.32 + cat << EOT 1.33 +To make it work on the program "program", just type: 1.34 + 1.35 +LD_PRELOAD=/usr/lib/libmmxemu.so program 1.36 +EOT 1.37 +}