wok view mmx-emu/receipt @ rev 17873
eom: Update bdeps and genpkg_rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri Mar 27 02:10:52 2015 -0300 (2015-03-27) |
parents | a0250385f2a5 |
children | 453c249b6219 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www-sop.inria.fr/members/Sylvain.Pion/progs/mmx-emu/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="emulator MMX 3Dnow"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $src/libmmxemu.so $fs/usr/lib
26 }
28 # Pre and post install commands for Tazpkg.
29 post_install()
30 {
31 cat << EOT
32 To make it work on the program "program", just type:
34 LD_PRELOAD=/usr/lib/libmmxemu.so program
35 EOT
36 }