wok annotate linld/receipt @ rev 2330

Add linld
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 28 14:24:55 2009 +0000 (2009-02-28)
parents
children 6ad2cadfeba8
rev   line source
pascal@2330 1 # SliTaz package receipt.
pascal@2330 2
pascal@2330 3 PACKAGE="linld"
pascal@2330 4 VERSION="0.97"
pascal@2330 5 CATEGORY="system-tools"
pascal@2330 6 SHORT_DESC="Boot loader for DOS/Win9x."
pascal@2330 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2330 8 TARBALL="${PACKAGE}$(echo $VERSION | sed 's/[^0-9]//')devel.tar.bz2"
pascal@2330 9 BASE_SITE="http://busybox.net/~vda/$PACKAGE"
pascal@2330 10 WEB_SITE="$BASE_SITE/README.txt"
pascal@2330 11 WGET_URL="$BASE_SITE/$TARBALL"
pascal@2330 12
pascal@2330 13 # Rules to configure and make the package.
pascal@2330 14 compile_rules()
pascal@2330 15 {
pascal@2330 16 mv DIST $src 2> /dev/null
pascal@2330 17 cd $src
pascal@2330 18 [ -f LINLD.COM ] || wget $BASE_SITE/LINLD.COM
pascal@2330 19 }
pascal@2330 20
pascal@2330 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2330 22 genpkg_rules()
pascal@2330 23 {
pascal@2330 24 mkdir -p $fs/usr/share/boot
pascal@2330 25 cp $src/LINLD.COM $fs/usr/share/boot/linld.com
pascal@2330 26 }
pascal@2330 27