wok-6.x annotate dev86/receipt @ rev 15553

Up: thunderbird-langpack-en_GB (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:37:31 2013 +0100 (2013-11-24)
parents 16c0bac038bf
children 051931e905b0
rev   line source
pascal@1720 1 # SliTaz package receipt.
pascal@1720 2
pascal@1720 3 PACKAGE="dev86"
gokhlayeh@7965 4 VERSION="0.16.18"
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@1720 9 SOURCE="Dev86src"
pascal@1720 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1720 11 WEB_SITE="http://www.debath.co.uk/"
pascal@1720 12 WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL"
pascal@13033 13 TAGS="compiler C assembler 8086"
pascal@1720 14
pascal@1720 15 # Rules to configure and make the package.
pascal@1720 16 compile_rules()
pascal@1720 17 {
pascal@1720 18 mv $PACKAGE-$VERSION $src 2> /dev/null
pascal@1720 19 cd $src
pascal@14802 20 sed -i '/rm ..\/include\/malloc.h/d' libc/malloc/Makefile*
pascal@5150 21 # Be busybox compatible
pascal@5150 22 sed -i 's/ | cat -v//' libcompat
gokhlayeh@7965 23 echo q | make -j 1 PREFIX=/usr &&
pascal@13117 24 make -j 1 DIST=$DESTDIR install
pascal@1720 25 }
pascal@1720 26
pascal@1720 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1720 28 genpkg_rules()
pascal@1720 29 {
pascal@1720 30 mkdir -p $fs/usr
pascal@1720 31 cp -a $_pkg/usr/bin $fs/usr
pascal@1720 32 cp -a $_pkg/usr/lib $fs/usr
pascal@13117 33 cp -a $stuff/com2exe $fs/usr/bin
pascal@1720 34 }
pascal@1720 35
pascal@11651 36 # Pre and post install commands for Tazpkg.
pascal@11651 37 post_install()
pascal@11651 38 {
pascal@11651 39 [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] &&
pascal@11651 40 cat > /proc/sys/fs/binfmt_misc/register <<EOT
pascal@11651 41 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
pascal@11651 42 EOT
pascal@11651 43 }
pascal@11651 44