wok view dev86/receipt @ rev 13062

Up: geany-plugins to 0.21.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jun 20 17:20:12 2012 +0000 (2012-06-20)
parents f7460b4117e7
children b43c047cc732
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=$PWD/_pkg 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 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] &&
37 cat > /proc/sys/fs/binfmt_misc/register <<EOT
38 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
39 EOT
40 }