wok-6.x view dev86/receipt @ rev 20641
Add SSL support to retawq (needed by man to browse linux.die.net)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Fri Jan 11 09:19:11 2019 +0100 (2019-01-11) |
parents | e60b6baa3569 |
children | 5ea0ce1cecc0 |
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 sed -i 's|include/malloc.h|& 2> /dev/null|' libc/malloc/Makefile
20 sed -i 's|/usr/man|/usr/share/man|' man/Makefile
21 sed -i 's|REFIX)/man|REFIX)/share/man|' Makefile */Makefile
22 make -j 1 PREFIX=/usr &&
23 make -j 1 DIST=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $stuff/com2exe $fs/usr/bin
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 [ "$1" ] && return
39 register=/proc/sys/fs/binfmt_misc/register
40 [ -f $register ] || modprobe binfmt_misc 2> /dev/null || true
41 [ -f $register ] && cat > $register <<EOT
42 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
43 EOT
44 true
45 }