wok view dev86/receipt @ rev 15402
Up: lvm2-dev (2.02.98)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Nov 02 21:27:40 2013 +0100 (2013-11-02) |
parents | 16c0bac038bf |
children | 051931e905b0 |
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 LICENSE="GPL2"
9 SOURCE="Dev86src"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.debath.co.uk/"
12 WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL"
13 TAGS="compiler C assembler 8086"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $PACKAGE-$VERSION $src 2> /dev/null
19 cd $src
20 sed -i '/rm ..\/include\/malloc.h/d' libc/malloc/Makefile*
21 # Be busybox compatible
22 sed -i 's/ | cat -v//' libcompat
23 echo q | make -j 1 PREFIX=/usr &&
24 make -j 1 DIST=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $stuff/com2exe $fs/usr/bin
34 }
36 # Pre and post install commands for Tazpkg.
37 post_install()
38 {
39 [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] &&
40 cat > /proc/sys/fs/binfmt_misc/register <<EOT
41 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
42 EOT
43 }