wok view mmx-emu/receipt @ rev 24612

updated gnuplot (4.6.5 -> 5.4.3)
author Hans-G?nter Theisgen
date Sun Mar 06 16:11:56 2022 +0100 (2022-03-06)
parents bb009a6ef036
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 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 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $src/libmmxemu.so $fs/usr/lib
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 cat << EOT
39 To make it work on the program "program", just type:
41 LD_PRELOAD=/usr/lib/libmmxemu.so program
42 EOT
43 }