wok-current view dev86/receipt @ rev 13653
Up: gnome-python-desktop (2.30.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Nov 19 14:41:43 2012 +0100 (2012-11-19) |
parents | 4c16797dce28 |
children | 16c0bac038bf |
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"
12 TAGS="compiler C assembler 8086"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE-$VERSION $src 2> /dev/null
18 cd $src
19 # Be busybox compatible
20 sed -i 's/ | cat -v//' libcompat
21 echo q | make -j 1 PREFIX=/usr &&
22 make -j 1 DIST=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $stuff/com2exe $fs/usr/bin
32 }
34 # Pre and post install commands for Tazpkg.
35 post_install()
36 {
37 [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] &&
38 cat > /proc/sys/fs/binfmt_misc/register <<EOT
39 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
40 EOT
41 }