wok view mmx-emu/receipt @ rev 25058

linux-libre-wireless: rtl8821ae.ko & rtl8192ee.ko.xz are not in staging anymore
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 11:14:20 2022 +0000 (2022-06-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 }