diff options
Diffstat (limited to 'misc/biosdisk')
-rw-r--r-- | misc/biosdisk/README | 11 | ||||
-rw-r--r-- | misc/biosdisk/biosdisk.SlackBuild | 16 | ||||
-rw-r--r-- | misc/biosdisk/biosdisk.info | 2 |
3 files changed, 20 insertions, 9 deletions
diff --git a/misc/biosdisk/README b/misc/biosdisk/README index 772fb9b368..eb6fc812be 100644 --- a/misc/biosdisk/README +++ b/misc/biosdisk/README @@ -1,7 +1,8 @@ -biosdisk is a bunch of scripts are creating disk images with freedos and -autoexec.bat to automatically run the bios executable. +biosdisk is a bunch of scripts are creating disk images with freedos +and autoexec.bat to automatically run the bios executable. -It should be suitable for any update of firmware or BIOS that can run from -diskette and freeDOS. +It should be suitable for any update of firmware or BIOS that can run +from diskette and freeDOS. -You can create (with mkisofs) a cd iso image that contains the floppy image. +You can create (with mkisofs) a cd iso image that contains the floppy +image. diff --git a/misc/biosdisk/biosdisk.SlackBuild b/misc/biosdisk/biosdisk.SlackBuild index 7970703f9a..070088de99 100644 --- a/misc/biosdisk/biosdisk.SlackBuild +++ b/misc/biosdisk/biosdisk.SlackBuild @@ -1,17 +1,27 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for <biosdisk> # Written by Michales Michaloudes korgie@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=biosdisk VERSION=${VERSION:-0.75_2} ARCH=noarch BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_VERSION=$(echo $VERSION | tr _ -) VERSDIR=$(echo $VERSION | sed 's/_.*//') -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -56,4 +66,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/misc/biosdisk/biosdisk.info b/misc/biosdisk/biosdisk.info index e6295afde9..1507dc97e2 100644 --- a/misc/biosdisk/biosdisk.info +++ b/misc/biosdisk/biosdisk.info @@ -1,7 +1,7 @@ PRGNAM="biosdisk" VERSION="0.75_2" HOMEPAGE="https://web.archive.org/web/20130725184444/http://linux.dell.com/biosdisk/" -DOWNLOAD="ftp://ftp.gunadarma.ac.id/mirrors/gentoo/distfiles/biosdisk-0.75-2.tar.gz" +DOWNLOAD="https://slackware.uk/~urchlay/src/biosdisk-0.75-2.tar.gz" MD5SUM="8add054007966fc176042bff92ee417c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |