wok-4.x view dev86/receipt @ rev 12471

Mass Rebuild of base packages
author Stanislas Leduc <shann@slitaz.org>
date Thu Nov 10 11:11:46 2022 +0000 (18 months ago)
parents f7460b4117e7
children d97d1f60fc46
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 WGET_URL="http://mirror.slitaz.org/sources/packages-4.0/D/$TARBALL"
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 }