SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dev86"

# SliTaz package receipt.

PACKAGE="dev86"
VERSION="0.16.18"
CATEGORY="development"
SHORT_DESC="Linux 8086 development environment."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="Dev86src"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.debath.co.uk/"
WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    mv $PACKAGE-$VERSION $src 2> /dev/null
    cd $src
    # Be busybox compatible
    sed -i 's/ | cat -v//' libcompat
    echo q | make -j 1 PREFIX=/usr &&
    make -j 1 DIST=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
}

# Pre and post install commands for Tazpkg.
post_install()
{
    [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] &&
        cat   > /proc/sys/fs/binfmt_misc/register <<EOT
:i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
EOT
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)