wok-current annotate linld/receipt @ rev 2764
Reduce cups pkg size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Apr 26 16:00:45 2009 +0000 (2009-04-26) |
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 |