wok-current view dev86/receipt @ rev 18295
Up openssh (7.0p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 13:52:27 2015 +0200 (2015-08-16) |
parents | 051931e905b0 |
children | e3270f32432e |
line source
1 # SliTaz package receipt.
3 PACKAGE="dev86"
4 VERSION="0.16.21"
5 CATEGORY="development"
6 SHORT_DESC="Linux 8086 development environment."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.debath.co.uk/"
11 WGET_URL="https://github.com/lkundrak/dev86/archive/v$VERSION.tar.gz"
12 TAGS="compiler C assembler 8086"
14 BUILD_DEPENDS="wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make -j 1 PREFIX=/usr &&
20 make -j 1 DIST=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $stuff/com2exe $fs/usr/bin
30 }
32 # Pre and post install commands for Tazpkg.
33 post_install()
34 {
35 [ "$1" ] && return
36 register=/proc/sys/fs/binfmt_misc/register
37 [ -f $register ] || modprobe binfmt_misc
38 [ -f $register ] && cat > $register <<EOT
39 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
40 EOT
41 }