wok annotate dev86/receipt @ rev 20927
updated fltk again (1.3.3 -> 1.3.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 13:08:40 2019 +0100 (2019-03-02) |
parents | e60b6baa3569 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@1720 | 1 # SliTaz package receipt. |
pascal@1720 | 2 |
pascal@1720 | 3 PACKAGE="dev86" |
pascal@18094 | 4 VERSION="0.16.21" |
pascal@1720 | 5 CATEGORY="development" |
pascal@1720 | 6 SHORT_DESC="Linux 8086 development environment." |
pascal@1720 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14801 | 8 LICENSE="GPL2" |
pascal@18094 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1720 | 10 WEB_SITE="http://www.debath.co.uk/" |
pascal@18094 | 11 WGET_URL="https://github.com/lkundrak/dev86/archive/v$VERSION.tar.gz" |
pascal@13033 | 12 TAGS="compiler C assembler 8086" |
pascal@1720 | 13 |
pascal@18094 | 14 BUILD_DEPENDS="wget" |
pascal@18094 | 15 |
pascal@1720 | 16 # Rules to configure and make the package. |
pascal@1720 | 17 compile_rules() |
pascal@1720 | 18 { |
pascal@20533 | 19 sed -i 's|include/malloc.h|& 2> /dev/null|' libc/malloc/Makefile |
pascal@19284 | 20 sed -i 's|/usr/man|/usr/share/man|' man/Makefile |
pascal@19284 | 21 sed -i 's|REFIX)/man|REFIX)/share/man|' Makefile */Makefile |
pascal@18094 | 22 make -j 1 PREFIX=/usr && |
pascal@13117 | 23 make -j 1 DIST=$DESTDIR install |
pascal@1720 | 24 } |
pascal@1720 | 25 |
pascal@1720 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1720 | 27 genpkg_rules() |
pascal@1720 | 28 { |
pascal@1720 | 29 mkdir -p $fs/usr |
pascal@15603 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15603 | 31 cp -a $install/usr/lib $fs/usr |
pascal@13117 | 32 cp -a $stuff/com2exe $fs/usr/bin |
pascal@1720 | 33 } |
pascal@1720 | 34 |
pascal@11651 | 35 # Pre and post install commands for Tazpkg. |
pascal@11651 | 36 post_install() |
pascal@11651 | 37 { |
pascal@18094 | 38 [ "$1" ] && return |
pascal@18094 | 39 register=/proc/sys/fs/binfmt_misc/register |
pascal@19644 | 40 [ -f $register ] || modprobe binfmt_misc 2> /dev/null || true |
pascal@18094 | 41 [ -f $register ] && cat > $register <<EOT |
pascal@11651 | 42 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu: |
pascal@11651 | 43 EOT |
pascal@19644 | 44 true |
pascal@11651 | 45 } |