wok annotate linld/receipt @ rev 7885

Up: htop to 0.9.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 07 04:34:46 2011 +0000 (2011-01-07)
parents 6ad2cadfeba8
children b939fa61b2b0
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@5553 18 if [ ! -f $SOURCES_REPOSITORY/linld.txt ]; then
pascal@5553 19 wget $WEB_SITE
pascal@5553 20 mv README.txt $SOURCES_REPOSITORY/linld.txt
pascal@5553 21 fi
pascal@2330 22 }
pascal@2330 23
pascal@2330 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2330 25 genpkg_rules()
pascal@2330 26 {
pascal@2330 27 mkdir -p $fs/usr/share/boot
pascal@2331 28 cp $src/LINLD$(echo $VERSION | sed 's/[^0-9]//')/LINLD.COM \
pascal@2331 29 $fs/usr/share/boot/linld.com
pascal@5553 30 cp $SOURCES_REPOSITORY/linld.txt $fs/usr/share/boot/
pascal@2330 31 }
pascal@2330 32