wok-4.x view dev86/receipt @ rev 11730

tintin: don't use extension in desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Tue Feb 21 09:02:38 2012 -0800 (2012-02-21)
parents 2695888b0f59
children 39f7962e4210
line source
1 # SliTaz package receipt.
3 PACKAGE="dev86"
4 VERSION="0.16.18"
5 CATEGORY="development"
6 SHORT_DESC="Linux 8086 development environment."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Dev86src"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.debath.co.uk/"
11 WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE-$VERSION $src 2> /dev/null
17 cd $src
18 # Be busybox compatible
19 sed -i 's/ | cat -v//' libcompat
20 echo q | make -j 1 PREFIX=/usr &&
21 make -j 1 DIST=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }
32 # Pre and post install commands for Tazpkg.
33 post_install()
34 {
35 [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] &&
36 cat > /proc/sys/fs/binfmt_misc/register <<EOT
37 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
38 EOT
39 }