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