wok view dev86/receipt @ rev 19334

apache: mkdir for PIDFILE
author Richard Dunbar <mojo@slitaz.org>
date Sun Jul 17 20:43:11 2016 -0400 (2016-07-17)
parents bc78fe1b4ae4
children e60b6baa3569
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|/usr/man|/usr/share/man|' man/Makefile
20 sed -i 's|REFIX)/man|REFIX)/share/man|' Makefile */Makefile
21 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 $install/usr/bin $fs/usr
30 cp -a $install/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 [ "$1" ] && return
38 register=/proc/sys/fs/binfmt_misc/register
39 [ -f $register ] || modprobe binfmt_misc
40 [ -f $register ] && cat > $register <<EOT
41 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
42 EOT
43 }