wok annotate dev86/receipt @ rev 11808
Up slitaz-configs (4.8) - New Openbox and GTK theme
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 25 16:57:02 2012 +0100 (2012-02-25) |
parents | 2695888b0f59 |
children | 4c16797dce28 |
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@1720 | 8 SOURCE="Dev86src" |
pascal@1720 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1720 | 10 WEB_SITE="http://www.debath.co.uk/" |
pascal@1720 | 11 WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL" |
pascal@1720 | 12 |
pascal@1720 | 13 # Rules to configure and make the package. |
pascal@1720 | 14 compile_rules() |
pascal@1720 | 15 { |
pascal@1720 | 16 mv $PACKAGE-$VERSION $src 2> /dev/null |
pascal@1720 | 17 cd $src |
pascal@5150 | 18 # Be busybox compatible |
pascal@5150 | 19 sed -i 's/ | cat -v//' libcompat |
gokhlayeh@7965 | 20 echo q | make -j 1 PREFIX=/usr && |
gokhlayeh@7965 | 21 make -j 1 DIST=$PWD/_pkg install |
pascal@1720 | 22 } |
pascal@1720 | 23 |
pascal@1720 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1720 | 25 genpkg_rules() |
pascal@1720 | 26 { |
pascal@1720 | 27 mkdir -p $fs/usr |
pascal@1720 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@1720 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@1720 | 30 } |
pascal@1720 | 31 |
pascal@11651 | 32 # Pre and post install commands for Tazpkg. |
pascal@11651 | 33 post_install() |
pascal@11651 | 34 { |
pascal@11651 | 35 [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] && |
pascal@11651 | 36 cat > /proc/sys/fs/binfmt_misc/register <<EOT |
pascal@11651 | 37 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu: |
pascal@11651 | 38 EOT |
pascal@11651 | 39 } |
pascal@11651 | 40 |