wok view linld/receipt @ rev 6498
Up: libv4l, libv4l-dev to 0.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 01 04:09:43 2010 +0000 (2010-10-01) |
parents | 6ad2cadfeba8 |
children | b939fa61b2b0 |
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 if [ ! -f $SOURCES_REPOSITORY/linld.txt ]; then
19 wget $WEB_SITE
20 mv README.txt $SOURCES_REPOSITORY/linld.txt
21 fi
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/boot
28 cp $src/LINLD$(echo $VERSION | sed 's/[^0-9]//')/LINLD.COM \
29 $fs/usr/share/boot/linld.com
30 cp $SOURCES_REPOSITORY/linld.txt $fs/usr/share/boot/
31 }