# 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 <