wok-6.x annotate etherboot/receipt @ rev 8625
Up: scummvm 1.2.1
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 15 03:13:24 2011 +0100 (2011-02-15) |
parents | e64f8e87ea6d |
children | d1768332cee0 |
rev | line source |
---|---|
pascal@515 | 1 # SliTaz package receipt. |
pascal@515 | 2 |
pascal@515 | 3 PACKAGE="etherboot" |
pascal@515 | 4 VERSION="5.4.3" |
pascal@515 | 5 CATEGORY="system-tools" |
pascal@515 | 6 SHORT_DESC="Ethernet bootloader for PXE and NBI images." |
pascal@515 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1511 | 8 BUILD_DEPENDS="perl" |
pascal@515 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@515 | 10 WEB_SITE="http://www.etherboot.org/" |
pascal@515 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@515 | 12 |
pascal@515 | 13 # Rules to configure and make the package. |
pascal@515 | 14 compile_rules() |
pascal@515 | 15 { |
pascal@515 | 16 cd $src/src |
pascal@1442 | 17 while read file; do |
pascal@1442 | 18 [ -f done.$file ] && continue |
pascal@1442 | 19 patch -p2 < ../../stuff/$file |
pascal@1442 | 20 touch done.$file |
pascal@1442 | 21 done <<EOT |
pascal@1442 | 22 etherboot-net.u |
pascal@1442 | 23 etherboot-prefix.u |
pascal@1442 | 24 EOT |
pascal@541 | 25 make bin/etherboot-net.bzImage |
pascal@515 | 26 } |
pascal@515 | 27 |
pascal@515 | 28 |
pascal@515 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@515 | 30 genpkg_rules() |
pascal@515 | 31 { |
pascal@515 | 32 mkdir -p $fs/usr/share/boot |
pascal@541 | 33 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot |
pascal@515 | 34 } |
pascal@515 | 35 |
pascal@515 | 36 # Pre and post install commands for Tazpkg. |
pascal@515 | 37 post_install() |
pascal@515 | 38 { |
pascal@515 | 39 echo "----" |
pascal@515 | 40 echo "You can create pxe/nbi boot floppy with:" |
pascal@515 | 41 echo "# cp /usr/share/boot/etherboot /dev/fd0" |
pascal@515 | 42 echo "----" |
pascal@515 | 43 } |