wok-4.x diff btmgr/receipt @ rev 968
Add intltool (new build dep for PCmanFM)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 30 12:14:42 2008 +0200 (2008-06-30) |
parents | |
children | c7714dc13119 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/btmgr/receipt Mon Jun 30 12:14:42 2008 +0200 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="btmgr" 1.7 +VERSION="3.7-1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Versatile floppy bootloader (can boot many CD-ROM)." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/download.html" 1.13 +WGET_URL="http://$PACKAGE.sourceforge.net/${VERSION%-*}/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + echo "I'm too lazy to hack and build it !" 1.19 +# stuff/btmgr has been built this way: 1.20 +# 1- # wget http://btmgr.sourceforge.net/${VERSION%-*}/sbminst-static 1.21 +# 2- # chmod +x sbminst-static 1.22 +# 3- # dd if=/dev/zero of=/dev/fd0 bs=18k count=80 1.23 +# 4- # ./sbminst-static -t us -d /dev/fd0 1.24 +# 5- # dd if=/dev/fd0 of=stuff/btmgr 1.25 +# 6- remove tailing zeros stuff/btmgr 1.26 +} 1.27 + 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/boot 1.33 + cp stuff/btmgr $fs/usr/share/boot/ 1.34 +} 1.35 + 1.36 +# Pre and post install commands for Tazpkg. 1.37 +post_install() 1.38 +{ 1.39 + echo "----" 1.40 + echo "You can create boot floppy with:" 1.41 + echo "# cp /usr/share/boot/btmgr /dev/fd0" 1.42 + echo "----" 1.43 +}