wok-current rev 2330

Add linld
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 28 14:24:55 2009 +0000 (2009-02-28)
parents 5b73f8aba06a
children 6ad2cadfeba8
files linld/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linld/receipt	Sat Feb 28 14:24:55 2009 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="linld"
     1.7 +VERSION="0.97"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Boot loader for DOS/Win9x."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="${PACKAGE}$(echo $VERSION | sed 's/[^0-9]//')devel.tar.bz2"
    1.12 +BASE_SITE="http://busybox.net/~vda/$PACKAGE"
    1.13 +WEB_SITE="$BASE_SITE/README.txt"
    1.14 +WGET_URL="$BASE_SITE/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	mv DIST $src 2> /dev/null
    1.20 +	cd $src
    1.21 +	[ -f LINLD.COM ] || wget $BASE_SITE/LINLD.COM
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/share/boot
    1.28 +	cp $src/LINLD.COM $fs/usr/share/boot/linld.com
    1.29 +}
    1.30 +