wok-6.x view linld/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents b4b992b90e4a
children 2a5cc8208d36
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 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/boot
24 cp $src/LINLD$(echo $VERSION | sed 's/[^0-9]//')/LINLD.COM \
25 $fs/usr/share/boot/linld.com
26 cp $stuff/linld.txt $fs/usr/share/boot/
27 }