wok-4.x view 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 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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/"
10 WGET_URL="${WEB_SITE}$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 make
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib
23 cp -a $src/libmmxemu.so $fs/usr/lib
24 }
26 # Pre and post install commands for Tazpkg.
27 post_install()
28 {
29 cat << EOT
30 To make it work on the program "program", just type:
32 LD_PRELOAD=/usr/lib/libmmxemu.so program
33 EOT
34 }