wok-6.x annotate linld/receipt @ rev 2988

Up: transmission-* (1.60)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon May 11 15:47:09 2009 +0200 (2009-05-11)
parents 141c490cbf74
children b4b992b90e4a
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@2331 18 [ -f README.txt ] || wget $WEB_SITE
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@2331 25 cp $src/LINLD$(echo $VERSION | sed 's/[^0-9]//')/LINLD.COM \
pascal@2331 26 $fs/usr/share/boot/linld.com
pascal@2331 27 cp $src/README.txt $fs/usr/share/boot/linld.txt
pascal@2330 28 }
pascal@2330 29