wok-next view mmx-emu/receipt @ rev 13819
assaultcube: add -lX11
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:52:34 2013 +0100 (2013-01-06) |
parents | 0fcd9d63e1e2 |
children | bb009a6ef036 |
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"
11 TAGS="emulator MMX 3Dnow"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib
24 cp -a $src/libmmxemu.so $fs/usr/lib
25 }
27 # Pre and post install commands for Tazpkg.
28 post_install()
29 {
30 cat << EOT
31 To make it work on the program "program", just type:
33 LD_PRELOAD=/usr/lib/libmmxemu.so program
34 EOT
35 }